Function offsets

Source
pub fn offsets<T: PrimInt + NumCast>(
    range: &Range<T>,
    n: T,
    tail: bool,
) -> (T, Range<T>)
Expand description

Adjust the bytes representation for Bits when shifted. Returns a bytes shift, n and thereby resulting shifted range, R.