Variant.store

Stores the serialised form of value at data. data should be large enough. See g_variant_get_size(). The stored data is in machine native byte order but may not be in fully-normalised form if read from an untrusted source. See g_variant_get_normal_form() for a solution. This function is approximately O(n) in the size of data. Since 2.24

class Variant
void
store
(
void* data
)

Parameters

data void*

the location to store the serialised data at

Meta