free_and_get_buffer


Description:

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

Frees this without destroying the internal data, which is returned as Buffer.

Free-function: gst_buffer_unref

Parameters:

this

BitWriter instance

Returns:

a new allocated Buffer wrapping the data inside. gst_buffer_unref after usage.