hasedbuffer

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashedRingBuffer

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

func NewHashedBuffer

func NewHashedBuffer(size int) *HashedRingBuffer

func (HashedRingBuffer) Bytes

func (h HashedRingBuffer) Bytes() []byte

func (HashedRingBuffer) CheckSum

func (h HashedRingBuffer) CheckSum() []byte

func (HashedRingBuffer) CheckSumHex

func (h HashedRingBuffer) CheckSumHex() string

func (*HashedRingBuffer) ReadNFrom

func (h *HashedRingBuffer) ReadNFrom(input *os.File, bytes int64) (int64, error)

func (HashedRingBuffer) RollingSum

func (h HashedRingBuffer) RollingSum() []byte

func (HashedRingBuffer) RollingSumHex

func (h HashedRingBuffer) RollingSumHex() string

func (*HashedRingBuffer) Write

func (h *HashedRingBuffer) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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