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.

class Buffer
static
uint
getMaxMemory
()

Return Value

Type: uint

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

Meta