Encode a number (or bigint) into a Buffer, with support for negative numbers. The number will be floored to the nearest integer.
The number to encode.
Encode a number (or bigint) into a Buffer, with support for negative numbers. The number will be floored to the nearest integer.