Module utils

Module utils 

Source

Structs§

CountingReader
A lightweight wrapper that counts bytes read from the underlying reader. replace deflate.intotal() in decompress_data

Enums§

HashAlgorithm
a hash abstraction to support both SHA1 and SHA256 which for stream hashing handle use (e.g. Sha1::new()) std::io::Write trait to update the hash state

Functions§

read_bytes
read_sha