Skip to main content

validate_subrange

Function validate_subrange 

Source
pub fn validate_subrange(file_len: u64, offset: u64, size: u64) -> Result<()>
Expand description

Validate offset/size against the file length.