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

Constructors

new
Uint8(value?: number)

Methods

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

Static Methods

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