Skip to main content
Module

x/typed_numeric/mod.ts>Uint16

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

Constructors

new
Uint16(value?: number)

Methods

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

Static Methods

fromBeBytes(bytes: Uint8Array): Uint16
fromLeBytes(bytes: Uint8Array): Uint16
max(): number
min(): number