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

Usage

import * as bufferUtils.es from "https://raw.githubusercontent.com/i-xi-dev/buffer-utils.es/6.2.3/deps.ts";

§Namespaces

BigUint64
ObjectEx
SafeInteger
SafeInteger.FromOptions
Uint16
Uint32
Uint8

§Variables

BigUint64.BYTES
BigUint64.MAX_VALUE

The maximum value of 64-bit unsigned integer.

BigUint64.MIN_VALUE

The minimum value of 64-bit unsigned integer.

BigUint64.SIZE

The number of bits used to represent an 64-bit unsigned integer.

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.

Uint32.BYTES
Uint32.MAX_VALUE

The maximum value of 32-bit unsigned integer.

Uint32.MIN_VALUE

The minimum value of 32-bit unsigned integer.

Uint32.SIZE

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

Uint8.BYTES
Uint8.MAX_VALUE

The maximum value of 8-bit unsigned integer.

Uint8.MIN_VALUE

The minimum value of 8-bit unsigned integer.

Uint8.SIZE

The number of bits used to represent an 8-bit unsigned integer.

§Functions

BigUint64.isBigUint64

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

ObjectEx.isAsyncIterableObject
ObjectEx.isIterableObject
ObjectEx.isNonNullObject
SafeInteger.fromBigInt
SafeInteger.fromNumber
SafeInteger.FromOptions.resolve
SafeInteger.fromString
SafeInteger.isEvenSafeInteger
SafeInteger.isNegativeSafeInteger
SafeInteger.isNonNegativeSafeInteger

Determines whether the test is a non-negative safe integer.

SafeInteger.isNonPositiveSafeInteger
SafeInteger.isOddSafeInteger
SafeInteger.isPositiveSafeInteger

Determines whether the test is a positive safe integer.

SafeInteger.roundToSafeInteger
SafeInteger.toBigInt
SafeInteger.toString
Uint16.isUint16

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

Uint16.rotateLeft
Uint16.saturateFromSafeInteger
Uint16.toBytes
Uint16.truncateFromSafeInteger
Uint32.bitwiseAnd
Uint32.bitwiseOr
Uint32.bitwiseXOr
Uint32.isUint32

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

Uint32.rotateLeft
Uint32.saturateFromSafeInteger
Uint32.toBytes
Uint32.truncateFromSafeInteger
Uint8.fromBigInt
Uint8.fromNumber
Uint8.fromString
Uint8.isUint8

Determines whether the passed test is an 8-bit unsigned integer.

Uint8.rotateLeft
Uint8.saturateFromSafeInteger
Uint8.toBigInt
Uint8.toString
Uint8.truncateFromSafeInteger

§Type Aliases

BigUint64

The type of 64-bit unsigned integer.

SafeInteger
SafeInteger.FromOptions
SafeInteger.FromOptions.Resolved
Uint16

The type of 16-bit unsigned integer.

Uint32

The type of 32-bit unsigned integer.

Uint8

The type of 8-bit unsigned integer.

Uint8.FromOptions