Versions in this module Expand all Collapse all v1 v1.4.1 Feb 26, 2024 v1.4.0 Jan 9, 2024 Changes in this version + func IterateBitMasks(bits []int, callback func(BitMask)) + type BitMask interface + Add func(bits ...int) error + And func(masks ...BitMask) + AnySet func(bits []int) bool + Clear func() + Count func() int + Fill func() + GetBits func() []int + IsEmpty func() bool + IsEqual func(mask BitMask) bool + IsGreaterThan func(mask BitMask) bool + IsLessThan func(mask BitMask) bool + IsNarrowerThan func(mask BitMask) bool + IsSet func(bit int) bool + Or func(masks ...BitMask) + Remove func(bits ...int) error + String func() string + func And(first BitMask, masks ...BitMask) BitMask + func NewBitMask(bits ...int) (BitMask, error) + func NewEmptyBitMask() BitMask + func Or(first BitMask, masks ...BitMask) BitMask