adler32

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2021 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Size = 4

Variables

This section is empty.

Functions

func Checksum

func Checksum(p []byte) uint32

func Update

func Update(sum uint32, p []byte) uint32

Types

type Hash

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

func New

func New() *Hash

func (*Hash) BlockSize

func (h *Hash) BlockSize() int

func (*Hash) Reset

func (h *Hash) Reset()

func (*Hash) Size

func (h *Hash) Size() int

func (*Hash) Sum

func (h *Hash) Sum(slice []byte) []byte

func (*Hash) Sum32

func (h *Hash) Sum32() uint32

func (*Hash) Write

func (h *Hash) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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