Buffer.nMemory

Get the amount of memory blocks that this buffer has. This amount is never larger than what Buffer.getMaxMemory returns.

class Buffer
uint
nMemory
()

Return Value

Type: uint

the number of memory blocks this buffer is made of.