Skip to main content

verify

Function verify 

Source
pub fn verify(bytes: &[u8]) -> Result<bool, FileError>
Expand description

Recompute the content hash from a file image and check it against the header — detects corruption or truncation of the payload sections.