Gst.Buffer.prototype.fill
function fill(offset:gsize, src:[guint8]):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
- Returns
The amount of bytes copied. This value can be lower than size when buffer did not contain enough data.