filter

package
v0.0.0-...-3976360 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

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

func NewReader

func NewReader(filter filter.Filter, contents []byte) *Reader

func (*Reader) Contains

func (r *Reader) Contains(blockOffset uint64, key []byte) bool

type Writer

type Writer struct {
	Generator filter.Generator
	// contains filtered or unexported fields
}

func (*Writer) Add

func (w *Writer) Add(key []byte)

func (*Writer) Finish

func (w *Writer) Finish() *bytes.Buffer

func (*Writer) Reset

func (w *Writer) Reset()

func (*Writer) StartBlock

func (w *Writer) StartBlock(offset uint64)

Jump to

Keyboard shortcuts

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