Skip to main content
Module

x/typed_numeric/mod.ts>Uint64

Typed numeric for Deno.
Latest
class Uint64
extends Numeric<Uint64, bigint>
import { Uint64 } from "https://deno.land/x/typed_numeric@0.5.0/mod.ts";

Constructors

new
Uint64(value?: bigint)

Methods

add(value: Uint64): Uint64
and(value: Uint64): Uint64
div(value: Uint64): Uint64
exp(value: Uint64): Uint64
logicalLeft(n: bigint): Uint64
logicalRight(n: bigint): Uint64
mul(value: Uint64): Uint64
or(value: Uint64): Uint64
rem(value: Uint64): Uint64
rotateLeft(n: bigint): Uint64
rotateRight(n: bigint): Uint64
sub(value: Uint64): Uint64
toBeBytes(): Uint8Array
toLeBytes(): Uint8Array
value(): bigint
xor(value: Uint64): Uint64

Static Methods

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