Variant.dupBytestring

Similar to g_variant_get_bytestring() except that instead of returning a constant string, the string is duplicated. The return value must be freed using g_free(). Since 2.26

class Variant
string
dupBytestring
()

Return Value

Type: string

a newly allocated string. [transfer full][array zero-terminated=1 length=length][element-type guint8]

Meta