free_and_get_data


Description:

[ CCode ( cname = "gst_byte_writer_free_and_get_data" ) ]
[ DestroysInstance ]
public uint8 free_and_get_data ()

Frees this and all memory allocated by it except the current data, which is returned.

Free-function: g_free

Parameters:

this

ByteWriter instance

Returns:

the current data. g_free after usage.