hash::adler32 +linux +x86_64

Implements the Adler-32 checksum algorithm. It is a non-cryptographic checksum.

Index

Types

// Undocumented types:
type state;

Constants

const SIZE: size;

Functions

fn adler32() state;

// Undocumented functions:
fn sum32(*hash::hash) u32;

Types

type state[link]

Show undocumented member
type state = struct {
	hash::hash,
	a: u32,
	b: u32,
};

Constants

def SIZE[link]

def SIZE: size;

The size, in bytes, of an Adler-32 checksum.

Functions

fn adler32[link]

fn adler32() state;

Creates a hash::hash which computes the Adler-32 checksum algorithm. This hash does not allocate any state, so you do not need to call hash::close when you are done with it.

fn sum32[link]

Show undocumented member
fn sum32(h: *hash::hash) u32;