GLib.Variant.prototype.get_bytestring_array
function get_bytestring_array(): [return_value: Array(String), length: Number(gsize)] { // Gjs wrapper for g_variant_get_bytestring_array() }
Gets the contents of an array of array of bytes GLib.Variant. This call makes a shallow copy; the return result should be released with GLib.free, but the individual strings must not be modified.
If length is non-null then the number of elements in the result is stored there. In any case, the resulting array will be null-terminated.
For an empty array, length will be set to 0 and a pointer to a null pointer will be returned.
Since 2.26
- return_value
an array of constant strings
- length
the length of the result, or null