pub fn get_bits<T: UnsignedPrimInt, U: UnsignedPrimInt + TryFrom<T>>( src: &[T], src_range: Range<usize>, ) -> U