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

BufferUtils.Uint16

import { BufferUtils } from "https://raw.githubusercontent.com/i-xi-dev/buffer-utils.es/6.2.3/deps.ts"; 

const { Uint16 } = BufferUtils;

The type of 16-bit unsigned integer.

type Uint16 = number;

§Type

§
number
[src]

§Variables

BufferUtils.Uint16.BYTES
BufferUtils.Uint16.MAX_VALUE

The maximum value of 16-bit unsigned integer.

BufferUtils.Uint16.MIN_VALUE

The minimum value of 16-bit unsigned integer.

BufferUtils.Uint16.SIZE

The number of bits used to represent a 16-bit unsigned integer.

§Functions

BufferUtils.Uint16.isUint16

Determines whether the passed test is a 16-bit unsigned integer.

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