Documentation
      ¶
    
    
  
    
  
    Index ¶
- type BitMask
 - func (bitmask BitMask) ClearBit(pos uint) BitMask
 - func (bitmask BitMask) ClearBits(bits BitMask) BitMask
 - func (bitmask BitMask) HasBit(pos uint) bool
 - func (bitmask BitMask) HasBits(bits BitMask) bool
 - func (bitmask BitMask) ModifyBit(pos uint, state bool) BitMask
 - func (bitmask BitMask) SetBit(pos uint) BitMask
 - func (bitmask BitMask) SetBits(bits BitMask) BitMask
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitMask ¶
type BitMask byte
func (BitMask) ModifyBit ¶
ModifyBit sets or clears the bit at the given position, given the supplied state bool.
 Click to show internal directories. 
   Click to hide internal directories.