Documentation ¶
Index ¶
- type BytesFilter
- func (b *BytesFilter) Add(bytes []byte) (identifier types.Identifier, added bool)
- func (b *BytesFilter) AddIdentifier(identifier types.Identifier) (added bool)
- func (b *BytesFilter) Contains(bytes []byte) (exists bool)
- func (b *BytesFilter) ContainsIdentifier(identifier types.Identifier) (exists bool)
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)
Click to show internal directories.
Click to hide internal directories.