Skip to main content
Module

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

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

Returns the length of the underlying TypedArray required to hold the given amount of bits.

Parameters

size: number

the amount of bits

Returns

number

the required length