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
ptrdiff_t offset
ptrdiff_t size


buf2 Buffer

the second source gstreamer.Buffer to append.

offset ptrdiff_t

the offset in buf2

size ptrdiff_t

the size or -1 of buf2

Return Value

Type: Buffer

the new gstreamer.Buffer that contains the memory of the two source buffers.