fn decode_transition_flags2(&self, reader: &mut Cursor<&[u8]>) -> Result< Vec<TransitionTimeFlag>, std::io::Error> {
        let mut transition_flags = vec![];

        for _ in 0..self.inner.tzh_ttigmtcnt {
            transition_flags.push(match try!(reader.read_u8()) {
                0 => TransitionTimeFlag::Local,
                _ => TransitionTimeFlag::Universal,
            })
        }

        Ok(transition_flags)
    }
/// returns a list of transition moment flags (local or universal)
///
/// the function assumes that the provided cursor is located at the the start of the
/// table with local or universal transition moments
returns a list of transition moment flags (local or universal)
the function assumes that the provided cursor is located at the the start of the
table with local or universal transition moments
returns a list of transition moment flags ( local or universal ) the function assumes that the provided cursor is located at the the start of the table with local or universal transition moments
fn decode_transition_flags2(&self, reader: &mut Cursor<&[u8]>) -> Result< Vec<TransitionTimeFlag>, std::io::Error> {
        let mut transition_flags = vec![];
        for _ in 0..self.inner.tzh_ttigmtcnt {
            transition_flags.push(match try!(reader.read_u8()) {
                0 => TransitionTimeFlag::Local,
                _ => TransitionTimeFlag::Universal,
            })
        }
        Ok(transition_flags)
    }
fn decode_transition_flags2 ( & self , reader : & mut Cursor < & [ u8 ] > ) -> Result < Vec < TransitionTimeFlag > , std :: io :: Error > { let mut transition_flags = vec ! [ ] ; for _ in 0 .. self . inner . tzh_ttigmtcnt { transition_flags . push ( match try ! ( reader read_u8 ( ) ) { 0 => TransitionTimeFlag :: Local , _ => TransitionTimeFlag :: Universal , } ) } Ok ( transition_flags ) }
returns a list of transition moment flags (local or universal)
the function assumes that the provided cursor is located at the the start of the
table with local or universal transition moments
returns a list of transition moment flags ( local or universal ) the function assumes that the provided cursor is located at the the start of the table with local or universal transition moments
&self
reader
&mut Cursor<&[u8]>