fn read_int(r: &mut BinaryReader) -> SWord {
  let b = r.read_u8();
  assert_eq!(b & 0b111, CTETag::LiteralInt as u8);
  match read_word(b, r) {
    Integral::Small(w) => w,
    Integral::BigInt(big) => big.to_isize().unwrap()
  }
}
/// Assume that the stream contains a tagged small integer (check the tag!)
/// read it and return the unwrapped value as word.
Assume that the stream contains a tagged small integer (check the tag!)
read it and return the unwrapped value as word.
Assume that the stream contains a tagged small integer ( check the tag! ) read it and return the unwrapped value as word .
fn read_int(r: &mut BinaryReader) -> SWord {
  let b = r.read_u8();
  assert_eq!(b & 0b111, CTETag::LiteralInt as u8);
  match read_word(b, r) {
    Integral::Small(w) => w,
    Integral::BigInt(big) => big.to_isize().unwrap()
  }
}
fn read_int ( r : & mut BinaryReader ) -> SWord { let b = r . read_u8 ( ) ; assert_eq ! ( b 0b111 CTETag LiteralInt as u8 ) ; match read_word ( b , r ) { Integral :: Small ( w ) => w , Integral :: BigInt ( big ) => big . to_isize ( ) . unwrap ( ) } }
Assume that the stream contains a tagged small integer (check the tag!)
Assume that the stream contains a tagged small integer ( check the tag! )
r
&mut BinaryReader