Buffer.copyInto

Copies the information from src into dest.

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

flags indicate which fields will be copied.

class Buffer
bool
copyInto

Parameters

src gst.buffer.Buffer

a source #GstBuffer

flags gst.types.BufferCopyFlags

flags indicating what metadata fields should be copied.

offset size_t

offset to copy from

size size_t

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

Return Value

Type: bool

true if the copying succeeded, false otherwise.