copy_bytes
Description:
Similar to gst_adapter_copy, but more suitable for language bindings.
size
bytes of data starting at offset
will be copied out of the buffers contained in this
and into a new Bytes structure which is returned. Depending on the value of the
size
argument an empty Bytes structure may be returned.
Parameters:
this |
a Adapter |
offset |
the bytes offset in the adapter to start from |
size |
the number of bytes to copy |
Returns:
A new Bytes structure containing the copied data. |