buffer.constants.MAX_LENGTH
- <integer> The largest size allowed for a single
Buffer
instance.
On 32-bit architectures, this value currently is 230 - 1 (~1GB). On 64-bit architectures, this value currently is 231 - 1 (~2GB).
This value is also available as buffer.kMaxLength
.