Versions in this module Expand all Collapse all v1 v1.9.25 Mar 25, 2021 v1.9.24 Mar 24, 2021 Changes in this version + const KeySize + var D logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + var E logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + var ErrNTooBig = fmt.Errorf("N is too big to fit in uint32") + var ErrPTooBig = fmt.Errorf("P is too big to fit in uint32") + var F logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + var I logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + var T logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + var W logg.LevelPrinter = logg.GetLogPrinterSet(subsystem) + type Filter struct + func BuildGCSFilter(P uint8, M uint64, key [KeySize]byte, data [][]byte) (*Filter, error) + func FromBytes(N uint32, P uint8, M uint64, d []byte) (*Filter, error) + func FromNBytes(P uint8, M uint64, d []byte) (*Filter, error) + func (f *Filter) Bytes() ([]byte, error) + func (f *Filter) Match(key [KeySize]byte, data []byte) (yn bool, e error) + func (f *Filter) MatchAny(key [KeySize]byte, data [][]byte) (bool, error) + func (f *Filter) N() uint32 + func (f *Filter) NBytes() ([]byte, error) + func (f *Filter) NPBytes() ([]byte, error) + func (f *Filter) P() uint8 + func (f *Filter) PBytes() ([]byte, error)