ByteWriter.freeAndGetBuffer

Frees @writer and all memory allocated by it except the current data, which is returned as #GstBuffer.

Free-function: gst_buffer_unref

class ByteWriter
freeAndGetBuffer
()

Return Value

Type: Buffer

the current data as buffer. gst_buffer_unref() after usage.

Meta