Buffer.getMemoryRange

Gets length memory blocks in buffer starting at idx. The memory blocks will be merged into one large #GstMemory.

If length is -1, all memory starting from idx is merged.

class Buffer
getMemoryRange
(
uint idx
,
int length
)

Parameters

idx uint

an index

length int

a length

Return Value

Type: gst.memory.Memory

a #GstMemory that contains the merged data of length blocks starting at idx.