fn decode_tuple<TermBuilderT: ITermBuilder>(
  r: &mut BinaryReader, size: Word, tb: &mut TermBuilderT)
  -> Hopefully<TermBuilderT::TermT>
{
  let mut tuple_builder = tb.create_tuple_builder(size);
  for i in 0..size {
    let elem = decode_naked(r, tb)?;
    unsafe { tuple_builder.set_element_base0(i, elem) }
  }
  Ok(tuple_builder.make_term())
}
/// Given arity, allocate a tuple and read its elements sequentially.
Given arity, allocate a tuple and read its elements sequentially.
Given arity allocate a tuple and read its elements sequentially .
fn decode_tuple<TermBuilderT: ITermBuilder>(
  r: &mut BinaryReader, size: Word, tb: &mut TermBuilderT)
  -> Hopefully<TermBuilderT::TermT>
{
  let mut tuple_builder = tb.create_tuple_builder(size);
  for i in 0..size {
    let elem = decode_naked(r, tb)?;
    unsafe { tuple_builder.set_element_base0(i, elem) }
  }
  Ok(tuple_builder.make_term())
}
fn decode_tuple < TermBuilderT : ITermBuilder > ( r : & mut BinaryReader , size : Word , tb : & mut TermBuilderT ) -> Hopefully < TermBuilderT :: TermT > { let mut tuple_builder = tb . create_tuple_builder ( size ) ; for i in 0 .. size { let elem = decode_naked ( r , tb ) ? ; unsafe { tuple_builder . set_element_base0 ( i , elem ) } } Ok ( tuple_builder . make_term ( ) ) }
Given arity, allocate a tuple and read its elements sequentially.
Given arity allocate a tuple and read its elements sequentially .
r
&mut BinaryReader
size
Word
tb
&mut TermBuilderT