[go: up one dir, main page]

[][src]Function adler::adler32_reader

pub fn adler32_reader<R: BufRead>(reader: &mut R) -> Result<u32>
This is supported on feature="std" only.

Calculates the Adler-32 checksum of a BufRead's contents.

The passed BufRead implementor will be read until it reaches EOF.

If you only have a Read implementor, wrap it in std::io::BufReader.