VariantType.getStringLength

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.variant_type.VariantType.peekString.

class VariantType
size_t
getStringLength
()

Return Value

Type: size_t

the length of the corresponding type string

Since 2.24