Buffer.getMaxMemory

Get the maximum amount of memory blocks that a buffer can hold. This is a compile time constant that can be queried with the function.

When more memory blocks are added, existing memory blocks will be merged together to make room for the new block.

Return: the maximum amount of memory blocks that a buffer can hold.

class Buffer
static
uint
getMaxMemory
()

Meta