free_and_get_buffer


Description:

[ CCode ( cname = "gst_byte_writer_free_and_get_buffer" ) ]
[ DestroysInstance ]
public Buffer free_and_get_buffer ()

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

Free-function: gst_buffer_unref

Parameters:

this

ByteWriter instance

Returns:

the current data as buffer. gst_buffer_unref after usage.