BitWriter.freeAndGetBuffer

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

Free-function: gst_buffer_unref

class BitWriter
freeAndGetBuffer
()

Return Value

Type: Buffer

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