Skip to main content
Module

x/typed_numeric/mod.ts>Uint32

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

Constructors

new
Uint32(value?: bigint)

Methods

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

Static Methods

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