Skip to main content
Module

x/typed_numeric/mod.ts>Uint16Vector

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

Constructors

new
Uint16Vector(arg?: number | Array<Uint16>)

Methods

copyWithin(
target: number,
start?: number,
end?: number,
): Uint16Vector
fill(
target: Uint16 | number,
start?: number,
end?: number,
): Uint16Vector
slice(start: number, end: number): Uint16Vector
toTypedArray(): Uint16Array

Static Methods

from(array: Uint16Array | Array<Uint16> | Array<number>): Uint16Vector
of(...elementN: Array<Uint16> | Array<number>): Uint16Vector