Buffer.copyInto

bool copyInto(gst.buffer.Buffer src, gst.types.BufferCopyFlags flags, size_t offset, size_t size)

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.

Parameters

srca source #GstBuffer
flagsflags indicating what metadata fields should be copied.
offsetoffset to copy from
sizetotal size to copy. If -1, all data is copied.

Returns

true if the copying succeeded, false otherwise.