pub fn validate_subrange(file_len: u64, offset: u64, size: u64) -> Result<()>
Validate offset/size against the file length.
offset
size