Documentation ¶
Index ¶
- Constants
- func Size(n uint64) uint64
- type Bitset
- func (s Bitset) Flip(i uint64) bool
- func (s Bitset) IsSet(i uint64) bool
- func (s Bitset) Len() uint64
- func (s Bitset) ListSet() []uint64
- func (s Bitset) ListUnset() []uint64
- func (s Bitset) Max() uint64
- func (s Bitset) Set(i uint64) Bitset
- func (s Bitset) SetAll() Bitset
- func (s Bitset) Unset(i uint64) Bitset
Constants ¶
View Source
const (
// Byte is 8 bits
Byte = 8
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bitset ¶
type Bitset []byte
Bitset is an object that makes working with large numbers of boolean values simple and memory efficient
Click to show internal directories.
Click to hide internal directories.