pub fn sha256_hex_of_reader<R: Read>(reader: &mut R) -> Result<String>Expand description
Hex-encoded SHA-256 of a stream, read 64 KiB at a time.
For files too large to hold in memory – a 300 MB model weight is hashed in
place rather than read into a Vec first, so the bytes are never held twice.