Variant.dupBytestring

Similar to glib.variant.Variant.getBytestring except that instead of returning a constant string, the string is duplicated.

The return value must be freed using glib.global.gfree.

class Variant
ubyte[]
dupBytestring
()

Return Value

Type: ubyte[]

a newly allocated string