Variant.fromByteString

Creates an array-of-bytes GVariant with the contents of string. This function is just like new Variant(string) except that the string need not be valid utf8.

The nul terminator character at the end of the string is stored in the array.

class Variant
static
fromByteString
(
string byteString
)

Throws

ConstructionException GTK+ fails to create the object.