Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bitfield ¶
type Bitfield []byte
Bitfield is, well, a bitfield.
func NewBitfield ¶
NewBitfield creates a new fixed-sized Bitfield (allocated up-front).
func (Bitfield) OnesBefore ¶
OnesBefore returns the number of bits set *before* this bit.
Click to show internal directories.
Click to hide internal directories.