copy_into


Description:

[ CCode ( instance_pos = 1.9 ) ]
public bool copy_into (Buffer dst, BufferCopyFlags flags, size_t offset, size_t size)

Copies the information from src into this.

If this already contains memory and flags contains GST_BUFFER_COPY_MEMORY, the memory from src will be appended to this.

flags indicate which fields will be copied.

Parameters:

this

a destination Buffer

flags

flags indicating what metadata fields should be copied.

offset

offset to copy from

size

total size to copy. If -1, all data is copied.

src

a source Buffer

Returns:

true if the copying succeeded, false otherwise.