peek_string


Description:

public char* peek_string ()

Returns the type string corresponding to the given this.

The result is not nul-terminated; in order to determine its length you must call [method@GLib.VariantType.get_string_length].

To get a nul-terminated string, see [method@GLib.VariantType.dup_string].

Parameters:

this

type to peek at

Returns:

the corresponding type string (not nul-terminated) Since 2.24