get_data_as_bytes


Description:

[ Version ( since = "2.36" ) ]
public Bytes get_data_as_bytes ()

Returns a pointer to the serialized form of a Variant instance.

The semantics of this function are exactly the same as get_data, except that the returned Bytes holds a reference to the variant data.

Parameters:

this

a Variant

Returns:

A new Bytes representing the variant data