Versions in this module Expand all Collapse all v0 v0.1.0 Jun 30, 2020 Changes in this version + const Version + var ErrIncompatibleVersion = errors.New("bloom: incompatible version") + func Len(n int, p float64) int + type Bloom struct + func New(n int, p float64) Bloom + func NewBits(m int, k uint8) Bloom + func WithBytes(buf []byte) (Bloom, error) + func (b *Bloom) Add(v []byte) + func (b *Bloom) Count() int64 + func (b *Bloom) ErrorRate() float64 + func (b *Bloom) Has(v []byte) bool + func (b *Bloom) Len() int + func (b *Bloom) ReadFrom(r io.Reader) (int64, error) + func (b *Bloom) Reset() + func (b *Bloom) WriteTo(w io.Writer) (int64, error)