import { type BitFieldConstructor } from "https://deno.land/x/structurae@4.0.1/bit-field-types.ts";
Methods
new(data?: ): BitFieldStructure<K, N>
Encodes a given list of numbers or map of fields and their respective values into a single numeric value according to the schema.
isValid(data: Partial<Record<K, number>>): boolean
Checks if a given set of values are valid according to the schema.