Gst.Buffer.prototype.get_sizes
function get_sizes():gsize { // Gjs wrapper for gst_buffer_get_sizes() }
Get the total size of the memory blocks in @b.
When not null, offset will contain the offset of the data in the first memory block in buffer and maxsize will contain the sum of the size and offset and the amount of extra padding on the last memory block. offset and maxsize can be used to resize the buffer memory blocks with Gst.resize.
- Returns
total size of the memory blocks in buffer.