BitWriter.freeAndGetBuffer

Frees @bitwriter without destroying the internal data, which is returned as #GstBuffer.

Free-function: gst_buffer_unref

class BitWriter
freeAndGetBuffer
()

Return Value

Type: Buffer

a new allocated #GstBuffer wrapping the data inside. gst_buffer_unref() after usage.

Meta