pub fn read_u24_le(slice: &[u8]) -> u32 {
    slice[0] as u32 | (slice[1] as u32) << 8 | (slice[2] as u32) << 16
}
Read a u24 (returned as a u32 with the most significant 8 bits always set
to 0) in little endian format from the beginning of the given slice. This
panics if the slice has length less than 3.
src/bytes.rs