fn decode_transition_times(&self, reader: &mut Cursor<&[u8]>) -> Result<Vec<Timespec>, std::io::Error> {
        let mut transition_times = Vec::<Timespec>::new();

        for _ in 0..self.inner.tzh_timecnt {
            transition_times.push(Timespec::new(try!((self.time_consumer)(reader)), 0));
        }

        Ok(transition_times)
    }
/// returns coded transition times
///
/// the function assumes that the provided cursor is located at the the start of the
/// table with transition times.
returns coded transition times
the function assumes that the provided cursor is located at the the start of the
table with transition times.
returns coded transition times the function assumes that the provided cursor is located at the the start of the table with transition times .
fn decode_transition_times(&self, reader: &mut Cursor<&[u8]>) -> Result<Vec<Timespec>, std::io::Error> {
        let mut transition_times = Vec::<Timespec>::new();
        for _ in 0..self.inner.tzh_timecnt {
            transition_times.push(Timespec::new(try!((self.time_consumer)(reader)), 0));
        }
        Ok(transition_times)
    }
fn decode_transition_times ( & self , reader : & mut Cursor < & [ u8 ] > ) -> Result < Vec < Timespec > , std :: io :: Error > { let mut transition_times = Vec :: < Timespec > :: new ( ) ; for _ in 0 .. self . inner . tzh_timecnt { transition_times . push ( Timespec :: new ( try ! ( ( self time_consumer ) ( reader ) ) , 0 ) ) ; } Ok ( transition_times ) }
returns coded transition times
the function assumes that the provided cursor is located at the the start of the
table with transition times.
returns coded transition times the function assumes that the provided cursor is located at the the start of the table with transition times .
&self
reader
&mut Cursor<&[u8]>