get_string_length


Description:

public size_t get_string_length ()

Returns the length of the type string corresponding to the given this.

This function must be used to determine the valid extent of the memory region returned by [method@GLib.VariantType.peek_string].

Parameters:

this

type to measure

Returns:

the length of the corresponding type string Since 2.24