Skip to main content
Module

x/typed_numeric/mod.ts>Int16

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

Constructors

new
Int16(value?: number)

Methods

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

Static Methods

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