Memory.copy

Return a copy of size bytes from mem starting from offset. This copy is guaranteed to be writable. size can be set to -1 to return a copy all bytes from offset.

class Memory
copy

Parameters

offset gssize

an offset to copy

size gssize

size to copy or -1 to copy all bytes from offset

Return Value

Type: Memory

a new GstMemory.

Meta