adler32: Adler-32 checksum algorithm
This is a non-cryptographic hash and is not suitable for cryptographic use.
// Undocumented types: type state;
def SZ: size = 4;
fn adler32() state; // Undocumented functions: fn sum32(h: *hash::hash) u32;
type state = struct { hash::hash, a: u32, b: u32, };
The size, in bytes, of an Adler-32 checksum.
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(h: *hash::hash) u32;