Skip to main content

verify

Function verify 

Source
pub fn verify(bytes: &[u8], index: &Index) -> Result<(), Error>
Expand description

Hashes the data section and compares it with the index. This reads every byte, on all cores, so it runs at memory or disk speed.

ยงErrors

Error::Format if the data does not match.