chunk

package
v0.0.0-...-691d4ba Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2015 License: Apache-2.0, MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountRolling

func CountRolling(buffer []byte) uint32

func CountStrong

func CountStrong(buffer []byte) []byte

func RollingFromString

func RollingFromString(s string) (ret uint32, err error)

func RollingToString

func RollingToString(r uint32) string

func StrongFromString

func StrongFromString(s string) ([]byte, error)

func StrongToString

func StrongToString(s []byte) string

Types

type Roller

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

func (*Roller) Calculate

func (this *Roller) Calculate(buffer []byte)

func (*Roller) Calculated

func (this *Roller) Calculated() bool

func (*Roller) Next

func (this *Roller) Next(first, last byte)

func (*Roller) Value

func (this *Roller) Value() uint32

Jump to

Keyboard shortcuts

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