copy_bytes


Description:

[ Version ( since = "1.4" ) ]
public Bytes copy_bytes (size_t offset, size_t size)

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.




2022 vala-language.org