Adapter.copy

Copies size bytes of data starting at offset out of the buffers contained in gst.Adapter.Adapter into an array dest provided by the caller.

The array dest should be large enough to contain size bytes. The user should check that the adapter has (offset + size) bytes available before calling this function.

class Adapter
void
copy
(
ubyte[] dest
,
size_t offset
)

Parameters

dest ubyte[]

the memory to copy into

offset size_t

the bytes offset in the adapter to start from