reset_and_get_buffer


Description:

[ CCode ( cname = "gst_bit_writer_reset_and_get_buffer" ) ]
public Buffer reset_and_get_buffer ()

Resets this and returns the current data as Buffer .

Free-function: gst_buffer_unref

Parameters:

this

a BitWriter instance

Returns:

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