Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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;

§Type

§
number
[src]

§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 test is a 16-bit unsigned integer.

Uint16.rotateLeft
Uint16.saturateFromSafeInteger
Uint16.toBytes
Uint16.truncateFromSafeInteger