bytesfilter

package
v0.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2023 License: Apache-2.0, BSD-2-Clause Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BytesFilter

type BytesFilter struct {
	// contains filtered or unexported fields
}

func New

func New(size int) *BytesFilter

func (*BytesFilter) Add

func (b *BytesFilter) Add(bytes []byte) (identifier types.Identifier, added bool)

func (*BytesFilter) AddIdentifier

func (b *BytesFilter) AddIdentifier(identifier types.Identifier) (added bool)

func (*BytesFilter) Contains

func (b *BytesFilter) Contains(bytes []byte) (exists bool)

func (*BytesFilter) ContainsIdentifier

func (b *BytesFilter) ContainsIdentifier(identifier types.Identifier) (exists bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL