Buffer.peekMemory

Get the memory block at idx in buffer. The memory block stays valid until the memory block in buffer is removed, replaced or merged, typically with any call that modifies the memory in buffer.

class Buffer
peekMemory
(
uint idx
)

Parameters

idx uint

an index

Return Value

Type: Memory

the gstreamer.Memory at idx.