go/src/hash/adler32/adler32.go

const mod

const nmax

const Size

type digest

func (d *digest) Reset() {}

// New returns a new hash.Hash32 computing the Adler-32 checksum. Its
// Sum method will lay the value out in big-endian byte order. The
// returned Hash32 also implements [encoding.BinaryMarshaler] and
// [encoding.BinaryUnmarshaler] to marshal and unmarshal the internal
// state of the hash.
func New() hash.Hash32 {}

func (d *digest) Size() int {}

func (d *digest) BlockSize() int {}

const magic

const marshaledSize

func (d *digest) AppendBinary(b []byte) ([]byte, error) {}

func (d *digest) MarshalBinary() ([]byte, error) {}

func (d *digest) UnmarshalBinary(b []byte) error {}

// Add p to the running checksum d.
func update(d digest, p []byte) digest {}

func (d *digest) Write(p []byte) (nn int, err error) {}

func (d *digest) Sum32() uint32 {}

func (d *digest) Sum(in []byte) []byte {}

// Checksum returns the Adler-32 checksum of data.
func Checksum(data []byte) uint32 {}