Gst.Buffer.prototype.extract
function extract(offset:gsize, dest:gpointer, size:gsize):gsize { // Gjs wrapper for gst_buffer_extract() }
Copy size bytes starting from offset in buffer to dest.
- offset
the offset to extract
- dest
the destination address
- size
the size to extract
- Returns
The amount of bytes extracted. This value can be lower than size when buffer did not contain enough data.