Versions in this module Expand all Collapse all v1 v1.0.0 Mar 27, 2026 Changes in this version + var ErrBitsetTooBig = errors.New("bitset overflow: parameters require more than 2^32 bits") + var ErrEmptyDump = errors.New("empty dump") + type CountingFilter struct + func NewCounting(n int, p float64) (*CountingFilter, error) + func NewCountingFromBytes(data []byte) (*CountingFilter, error) + func (f *CountingFilter) Add(data []byte) + func (f *CountingFilter) Clear() + func (f *CountingFilter) Copy() *CountingFilter + func (f *CountingFilter) MarshalBinary() ([]byte, error) + func (f *CountingFilter) Remove(data []byte) + func (f *CountingFilter) Test(data []byte) bool + func (f *CountingFilter) ToBytes() ([]byte, error) + func (f *CountingFilter) UnmarshalBinary(data []byte) error