BitWriter.resetAndGetBuffer

Resets bitwriter and returns the current data as gstreamer.Buffer

Free-function: gst_buffer_unref

class BitWriter
resetAndGetBuffer
()

Return Value

Type: Buffer

a new allocated gstreamer.Buffer wrapping the current data. Buffer.unref after usage.