VariantG.dupBytestring

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

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

class VariantG
ubyte[]
dupBytestring
()

Return Value

Type: ubyte[]

a newly allocated string