GLib.VariantType.prototype.get_string_length
function get_string_length(): Number(gsize) { // Gjs wrapper for g_variant_type_get_string_length() }
Returns the length of the type string corresponding to the given type. This function must be used to determine the valid extent of the memory region returned by GLib.VariantType.peek_string.
- Returns
-
the length of the corresponding type string
Since 2.24