Skip to main content
Module

x/structurae/typed-array-view.ts

Data structures for high-performance JavaScript applications.
Latest
File
import { ArrayView } from "./array-view.ts";
export class TypedArrayView<T> extends ArrayView<T> { static offset = 0;
static getOffset(index: number): number { return index << this.offset; }
static getSize(length: number): number { return length >> this.offset; }}