Documentation ¶
Index ¶
- Variables
- type Bitmap
- func (b *Bitmap) And(a Bitmap) Bitmap
- func (b *Bitmap) AndNot(a Bitmap) Bitmap
- func (b Bitmap) Bytes() []byte
- func (b Bitmap) Clone() Bitmap
- func (b *Bitmap) CloneFrom(a Bitmap)
- func (b *Bitmap) CloneFromBytes(src []byte)
- func (b Bitmap) Contains(x uint64) bool
- func (b Bitmap) Count() int
- func (b *Bitmap) Free()
- func (b Bitmap) IsValid() bool
- func (b Bitmap) MarshalBinary() ([]byte, error)
- func (b Bitmap) MarshalText() ([]byte, error)
- func (b *Bitmap) Or(a Bitmap) Bitmap
- func (b Bitmap) Remove(x uint64) bool
- func (b Bitmap) Set(x uint64) bool
- func (b Bitmap) Size() int
- func (b *Bitmap) UnmarshalBinary(src []byte) error
- func (b *Bitmap) UnmarshalText(src []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidBuffer = errors.New("invalid buffer length")
Functions ¶
This section is empty.
Types ¶
type Bitmap ¶
func NewFromArray ¶
func NewFromBytes ¶
func (*Bitmap) CloneFromBytes ¶
func (Bitmap) MarshalBinary ¶
func (Bitmap) MarshalText ¶
func (*Bitmap) UnmarshalBinary ¶
func (*Bitmap) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.