Skip to main content
Module

x/structurae/bit-array.ts>BitArray.create

Data structures for high-performance JavaScript applications.
Latest
method BitArray.create
import { BitArray } from "https://deno.land/x/structurae@4.0.1/bit-array.ts";

Creates a BitArray of the specified size.

Type Parameters

T extends BitArray

Parameters

this: T

the maximum amount of bits in the array

size: number

Returns

InstanceType<T>

a new BitArray