Returns a pointer to the serialised form of a glib.Variant instance. The semantics of this function are exactly the same as Variant.getData, except that the returned glib.Bytes holds a reference to the variant data.
A new glib.Bytes representing the variant data
2.36
Returns a pointer to the serialised form of a glib.Variant instance. The semantics of this function are exactly the same as Variant.getData, except that the returned glib.Bytes holds a reference to the variant data.