NumberEncoder

type NumberEncoder = Encoder<bigint | number>;

Represents an encoder for numbers and bigints.

This type allows encoding values that are either number or bigint. Depending on the specific implementation, the encoded output may have a fixed or variable size.

See

FixedSizeNumberEncoder

On this page