Buffer.Constants
Getting Started
The Constants module in Buffer is used to know the minimum and maximum values of types,
for example signed and unsigned numbers, as well as strings.
Note
This module is used in Buffer to reduce values if they exceed their expected value too much.
The REQUIRED_BYTES table allows you to know which type takes how many bytes.
For strings with an undefined length, the number of bytes will depend on their length.
You can also find the module version in the table.