Gst.Buffer.prototype.resize

function resize(offset:gssize, size:gssize):void {
    // Gjs wrapper for gst_buffer_resize()
}

Set the offset and total size of the memory blocks in buffer.

offset

the offset adjustement

size

the new size or -1 to just adjust the offset