pub fn decode<TermBuilderT: ITermBuilder>(
  r: &mut BinaryReader, tb: &mut TermBuilderT)
  -> Hopefully<TermBuilderT::TermT>
{
  let etf_tag = r.read_u8();
  if etf_tag != Tag::ETF as u8 {
    let msg = format!("{}Expected ETF tag byte 131, got {}", module(), etf_tag);
    return fail(msg);
  }
  decode_naked::<TermBuilderT>(r, tb)
}
/// Given a binary reader `r` parse term and return it, `heap` is used to
/// allocate space for larger boxed terms.
Given a binary reader `r` parse term and return it, `heap` is used to
allocate space for larger boxed terms.
Given a binary reader ` r ` parse term and return it ` heap ` is used to allocate space for larger boxed terms .
pub fn decode<TermBuilderT: ITermBuilder>(
  r: &mut BinaryReader, tb: &mut TermBuilderT)
  -> Hopefully<TermBuilderT::TermT>
{
  let etf_tag = r.read_u8();
  if etf_tag != Tag::ETF as u8 {
    let msg = format!("{}Expected ETF tag byte 131, got {}", module(), etf_tag);
    return fail(msg);
  }
  decode_naked::<TermBuilderT>(r, tb)
}
pub fn decode < TermBuilderT : ITermBuilder > ( r : & mut BinaryReader , tb : & mut TermBuilderT ) -> Hopefully < TermBuilderT :: TermT > { let etf_tag = r . read_u8 ( ) ; if etf_tag != Tag :: ETF as u8 { let msg = format ! ( " " module ( ) etf_tag ) ; return fail ( msg ) ; } decode_naked :: < TermBuilderT > ( r , tb ) }
Given a binary reader `r` parse term and return it, `heap` is used to
allocate space for larger boxed terms.
Given a binary reader ` r ` parse term and return it ` heap ` is used to allocate space for larger boxed terms .
r
&mut BinaryReader
tb
&mut TermBuilderT