Buffer.nMemory

uint nMemory()

Gets the amount of memory blocks that this buffer has. This amount is never larger than what [gst.buffer.Buffer.getMaxMemory] returns.

Returns

the number of memory blocks this buffer is made of.