blocks starting at idx.
Buffer.getMemoryRange
gst.memory.Memory getMemoryRange(uint idx, int length)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.
Parameters
idx | an index |
length | a length |
Returns
a #GstMemory that contains the merged data of length