Creates an array-of-bytes #GVariant with the contents of string. This function is just like glib.variant.VariantG.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.
a normal nul-terminated string in no particular encoding
a floating reference to a new bytestring #GVariant instance
Creates an array-of-bytes #GVariant with the contents of string. This function is just like glib.variant.VariantG.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.