getDataAsBytes

Returns a pointer to the serialized form of a #GVariant instance. The semantics of this function are exactly the same as g_variant_get_data(), except that the returned #GBytes holds a reference to the variant data.

Return

A new #GBytes representing the variant data

Since

2.36