fn read_time(data: &[u8], offset: &mut usize) -> NaiveTime