Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add[T constraints.Integer](f T, bits ...T) T
Add allows you to add multiple bits together, producing a new bit
func Has ¶
func Has[T constraints.Integer](f T, bits ...T) bool
Has will ensure that the bit includes all the bits entered
func Missing ¶
func Missing[T constraints.Integer](f T, bits ...T) bool
Missing will check whether the bit is missing any one of the bits
func Remove ¶
func Remove[T constraints.Integer](f T, bits ...T) T
Remove allows you to subtract multiple bits from the first, producing a new bit
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.