Versions in this module Expand all Collapse all v1 v1.1.1 Mar 26, 2024 Changes in this version + var ErrorTooShort = errors.New("too short binary") + type Sketch struct + func New() *Sketch + func New14() *Sketch + func New16() *Sketch + func New16NoSparse() *Sketch + func NewNoSparse() *Sketch + func (sk *Sketch) Clone() *Sketch + func (sk *Sketch) Estimate() uint64 + func (sk *Sketch) Insert(e []byte) bool + func (sk *Sketch) InsertHash(x uint64) bool + func (sk *Sketch) MarshalBinary() (data []byte, err error) + func (sk *Sketch) Merge(other *Sketch) error + func (sk *Sketch) UnmarshalBinary(data []byte) error