pub fn checked_range( index: usize, width: usize, context: &str, ) -> Result<Range<usize>, WeightRangeError>
Checked fixed-width range index * width .. start + width.
index * width .. start + width