Gst.Buffer.prototype.extract_dup

function extract_dup(offset:gsize, size:gsize):void {
    // Gjs wrapper for gst_buffer_extract_dup()
}

Extracts a copy of at most size bytes the data at offset into a GLib.Bytes. dest must be freed using GLib.free when done.

Since 3.2

offset

the offset to extract

size

the size to extract