Gst.Buffer.prototype.n_memory

function n_memory():Number {
    // Gjs wrapper for gst_buffer_n_memory()
}

Get the amount of memory blocks that this buffer has.

Returns

the amount of memory block in this buffer.