Skip to main content

validate_footer

Function validate_footer 

Source
pub fn validate_footer(footer: &Footer, file_size: u64) -> Result<()>
Expand description

Check every region footer points at against the real file size.

Callers MUST run this before acting on any footer field. It is what makes a later vec![0; size] safe to perform.