Skip to main content
Module

x/typed_numeric/mod.ts>Int8

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

Constructors

new
Int8(value?: number)

Methods

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

Static Methods

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