import { type BitFieldStructure } from "https://deno.land/x/structurae@4.0.1/index.ts";
Properties
value: N
Methods
has(...fields: Array<K>): boolean
Checks whether the instance has all the specified fields set to 1. Useful for bit flags.
Checks if the instance contains all the key-value pairs listed in matcher.
Use BigBitField.getMatcher
to get an array of precomputed values
that you can use to efficiently compare multiple instances
to the same key-value pairs as shown in the examples below.
toObject(): Record<K, number>
Returns the object representation of the instance, with field names as properties with corresponding values.