Similar to get_bytestring except that instead of returning a constant string, the string is duplicated.
The return value must be freed using g_free.
| this |
an array-of-bytes Variant instance |
| length |
a pointer to a size_t, to store the length (not including the nul terminator) |
|
a newly allocated string |