import "github.com/andy2046/bitmap"
Package bitmap implements Bitmap in Go.
constMaxBitmapSizeuint64=0x01<<40MaxBitmapSize is the maximum bitmap size (in bits).
typeBitmapstruct {
// contains filtered or unexported fields
}Bitmap represents a bitmap.
funcNew(sizeuint64) *BitmapNew creates a new Bitmap.
func (b*Bitmap) GetBit(offsetuint64) boolGetBit returns the value of bit at offset.
func (b*Bitmap) SetBit(offsetuint64, vbool) boolSetBit sets bit at offset to value v.
func (b*Bitmap) Size() uint64Size returns the bitmap size (in bits).