fn decode_u32(chrs: &mut Chars) -> Result<u32, DecoderError> {
        let mut result  = 0;
        let mut shift   = 0;

        for _ in 0..6 {
            let next_chr    = chrs.next().ok_or(DecoderError::BadNumber)?;
            result          |= (Self::decode_base64(next_chr)? as u32) << shift;
            shift           += 6;
        }


        Ok(result)
    }
///
/// Consumes 6 characters to decode a u32
///
Consumes 6 characters to decode a u32
Consumes 6 characters to decode a u32
fn decode_u32(chrs: &mut Chars) -> Result<u32, DecoderError> {
        let mut result  = 0;
        let mut shift   = 0;
        for _ in 0..6 {
            let next_chr    = chrs.next().ok_or(DecoderError::BadNumber)?;
            result          |= (Self::decode_base64(next_chr)? as u32) << shift;
            shift           += 6;
        }
        Ok(result)
    }
fn decode_u32 ( chrs : & mut Chars ) -> Result < u32 , DecoderError > { let mut result = 0 ; let mut shift = 0 ; for _ in 0 .. 6 { let next_chr = chrs . next ( ) . ok_or ( DecoderError :: BadNumber ) ? ; result |= ( Self :: decode_base64 ( next_chr ) ? as u32 ) << shift ; shift += 6 ; } Ok ( result ) }
Consumes 6 characters to decode a u32
Consumes 6 characters to decode a u32
chrs
&mut Chars