Uint16
import { Uint16 } from "https://raw.githubusercontent.com/i-xi-dev/buffer-utils.es/6.2.3/deps.ts";
The type of 16-bit unsigned integer.
type Uint16 = number;
§Variables
Uint16.BYTES | |
Uint16.MAX_VALUE | The maximum value of 16-bit unsigned integer. |
Uint16.MIN_VALUE | The minimum value of 16-bit unsigned integer. |
Uint16.SIZE | The number of bits used to represent a 16-bit unsigned integer. |
§Functions
Uint16.isUint16 | Determines whether the passed |
Uint16.rotateLeft | |
Uint16.saturateFromSafeInteger | |
Uint16.toBytes | |
Uint16.truncateFromSafeInteger |