ByteWriter.resetAndGetBuffer

Resets writer and returns the current data as buffer.

Free-function: gst_buffer_unref

class ByteWriter
resetAndGetBuffer
()

Return Value

Type: Buffer

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