Skip to main content
Module

x/typed_numeric/mod.ts>Uint8Vector

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

Constructors

new
Uint8Vector(arg?: number | Array<Uint8>)

Methods

copyWithin(
target: number,
start?: number,
end?: number,
): Uint8Vector
fill(
target: Uint8 | number,
start?: number,
end?: number,
): Uint8Vector
slice(start: number, end: number): Uint8Vector
toTypedArray(): Uint8Array

Static Methods

from(array: Uint8Array | Array<Uint8> | Array<number>): Uint8Vector
of(...elementN: Array<Uint8> | Array<number>): Uint8Vector