fn range_to_usize(range: MemoryRange, upper_bound: usize) -> Range<usize> ⓘ
Expand description
Convert a crate::MemoryRange
to Range<usize>
and bounds check it.
fn range_to_usize(range: MemoryRange, upper_bound: usize) -> Range<usize> ⓘ
Convert a crate::MemoryRange
to Range<usize>
and bounds check it.