ByteWriter.freeAndGetBuffer

Frees writer and all memory allocated by it except the current data, which is returned as gstreamer.Buffer

Free-function: gst_buffer_unref

class ByteWriter
freeAndGetBuffer
()

Return Value

Type: Buffer

the current data as buffer. Buffer.unref after usage.