gix_chunk::range

Function into_usize

Source
pub fn into_usize(_: Range<Offset>) -> Option<Range<usize>>
Expand description

Turn a u64 Range into a usize range safely, to make chunk ranges useful in memory mapped files.