Function rapidhash_file

Source
pub fn rapidhash_file(data: &mut File) -> Result<u64>
Expand description

Rapidhash a file, matching the C++ implementation.

This method will check the metadata for a file length, and then stream the file with a BufReader to compute the hash. This avoids loading the entire file into memory.