RTCPBuffer.newCopyData

Create a new buffer and set the data to a copy of len bytes of data and the size to len. The data will be freed when the buffer is freed.

class RTCPBuffer
static
newCopyData
(
ubyte[] data
)

Parameters

data ubyte[]

data for the new buffer

Return Value

Type: gst.buffer.Buffer

A newly allocated buffer with a copy of data and of size len.