Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
class Uint128
extends Numeric<Uint128, bigint>
import { Uint128 } from "https://deno.land/x/typed_numeric@0.5.0/src/numeric/uint128.ts";

Constructors

new
Uint128(value?: bigint)

Methods

logicalLeft(n: bigint): Uint128
logicalRight(n: bigint): Uint128
or(value: Uint128): Uint128
rotateLeft(n: bigint): Uint128
rotateRight(n: bigint): Uint128
toBeBytes(): Uint8Array
toLeBytes(): Uint8Array
value(): bigint

Static Methods

fromBeBytes(bytes: Uint8Array): Uint128
fromLeBytes(bytes: Uint8Array): Uint128
max(): bigint
min(): bigint