Variant.dupBytestring

ubyte[] 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.

Returns

a newly allocated string