Resets bitwriter and returns the current data as gstreamer.Buffer
Free-function: gst_buffer_unref
a new allocated gstreamer.Buffer wrapping the current data. Buffer.unref after usage.
Resets bitwriter and returns the current data as gstreamer.Buffer
Free-function: gst_buffer_unref