Using `Read::read_exact` is not the correct way to read a file in chunks. When it returns `UnexpectedEof`, the buffer has data in it, but is zero-padded to the end. This causes the calculated checksum to be incorrect. |
||
---|---|---|
src | ||
.gitattributes | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
rustfmt.toml |