Buffer.getSize

size_t getSize()

Gets the total size of the memory blocks in buffer.

Returns

total size of the memory blocks in buffer.