Skip to content

BitFieldResolvable

Package: @erinjs/util

Data structure that allows efficient storage of multiple flags (bits) in a single number.

Note: JavaScript bitwise operations (|, &, ^, <<, >>) operate on 32-bit signed integers. Flags with values exceeding 2^30 may exhibit unexpected behavior. For permission-style bitfields with more than 30 bits, consider using BigInt-based implementations.

Properties

None

Released under the Apache-2.0 License.