[ CCode ( has_target = false ) ]
public delegate Memory MemoryCopyFunction (Memory mem, ssize_t offset, ssize_t size)
Copy size
bytes from mem
starting at offset
and return them wrapped in a new GstMemory object.
If size
is set to -1, all bytes starting at offset
are copied.
mem |
a Memory |
offset |
an offset |
size |
a size or -1 |
a new Memory object wrapping a copy of the requested region in |