Buffer.replaceMemoryRange

Replaces length memory blocks in buffer starting at idx with mem.

If length is -1, all memory starting from idx will be removed and replaced with mem.

buffer should be writable.

class Buffer
void
replaceMemoryRange

Parameters

idx uint

an index

length int

a length, should not be 0

mem gst.memory.Memory

a #GstMemory