Buffer.appendRegion

Append @size bytes at @offset from @buf2 to @buf1. The result buffer will contain a concatenation of the memory of @buf1 and the requested region of @buf2.

class Buffer
appendRegion
(,
ptrdiff_t offset
,
ptrdiff_t size
)

Parameters

buf2 Buffer

the second source #GstBuffer to append.

offset ptrdiff_t

the offset in @buf2

size ptrdiff_t

the size or -1 of @buf2

Return: the new #GstBuffer that contains the memory of the two source buffers.

Meta