Variant.newBytestring
glib.variant.Variant newBytestring(string string_)Creates an array-of-bytes #GVariant with the contents of string. This function is just like [glib.variant.Variant.newString] except that the string need not be valid UTF-8.
The nul terminator character at the end of the string is stored in the array.
Parameters
string_ | a normal nul-terminated string in no particular encoding |
Returns
a floating reference to a new bytestring #GVariant instance