fn decode_int_nonneg<R: Read>(reader: &mut R) -> Result<u32, Error>