Get length memory blocks in buffer starting at idx. The memory blocks will be merged into one large gstreamer.Memory

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

class Buffer
uint idx
int length


idx uint

an index

length int

a length

Return Value

Type: Memory

a gstreamer.Memory that contains the merged data of length blocks starting at idx. Use gst_memory_unref () after usage.