Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidBitSet = errors.New("bitmap: attempted to set a bit before the last written bit")
ErrInvalidBitSet is returned when there is an attempt to set a bit before the last written bit.
Functions ¶
This section is empty.
Types ¶
type Bitmap ¶
type Bitmap struct {
// contains filtered or unexported fields
}
Bitmap is an EWAH-encoded bitmap. See: https://github.com/lemire/javaewah
func FromReader ¶
FromReader creates a Bitmap from the given reader.
func (*Bitmap) Reset ¶
func (b *Bitmap) Reset()
Reset clears the bitmap and sets everything to unused empty zeroes.
Click to show internal directories.
Click to hide internal directories.