Skip to main content
Module

x/structurae/bit-field.ts

Data structures for high-performance JavaScript applications.
Latest
import * as mod from "https://deno.land/x/structurae@4.0.1/bit-field.ts";

Functions

Creates a BitField class from with a given schema. BitField uses numbers as bitfields to store and operate on data using bitwise operations. The size of the field is limited to 31 bits, for a larger bitfields consider using BigBitField class that uses bigints instead.