Type aliases
FixedSizeNumberDecoder
FixedSizeNumberDecoder<
TSize
> =FixedSizeDecoder
<bigint
,TSize
> |FixedSizeDecoder
<number
,TSize
>
Represents a fixed-size decoder for numbers and bigints.
This decoder reads a fixed number of bytes (TSize
) and converts them into a number
or bigint
.
Type Parameters
Type Parameter | Default type | Description |
---|---|---|
TSize extends number | number | The number of bytes expected for decoding. |