Gst.Buffer.prototype.fill
function fill(offset:gsize, src:gpointer, size:gsize):gsize {
// Gjs wrapper for gst_buffer_fill()
}Copy size bytes from src to buffer at offset.
- offset
the offset to fill
- src
the source address
- size
the size to fill
- Returns
The amount of bytes copied. This value can be lower than size when buffer did not contain enough data.