pub(crate) fn chunk_to_usize(chunk: &[u8], width: usize) -> usizeExpand description
Helper function to decode a little-endian “chunk” (byte slice of a specific length)
into a usize. We cannot call usize::from_le_bytes directly because that function
requires the high bits to be set to 0.