VariantType.peekString

Returns the type string corresponding to the given @type. The result is not nul-terminated; in order to determine its length you must call g_variant_type_get_string_length().

To get a nul-terminated string, see g_variant_type_dup_string().

class VariantType
string
peekString
()

Return Value

Type: string

the corresponding type string (not nul-terminated)

Since 2.24

Meta