fn decode_literals(&mut self, inflated: Vec<u8>) {
    //dump_vec(&inflated);

    // Decode literals into literal heap here
    let mut r = BinaryReader::from_bytes(inflated);
    let count = r.read_u32be();
    self.lit_tab.reserve(count as usize);

    for _i in 0..count {
      // size should match actual consumed ETF bytes so can skip it here
      let _size = r.read_u32be();

      let mut tb = TermBuilder::new(&mut self.lit_heap);
      let literal = etf::decode(&mut r, &mut tb).unwrap();

      self.lit_tab.push(literal);
    }
  }
/// Given `inflated`, the byte contents of literal table, read the u32/big
/// `count` and for every encoded term skip u32 and parse the external term
/// format. Boxed values will go into the `self.lit_heap`.
Given `inflated`, the byte contents of literal table, read the u32/big
`count` and for every encoded term skip u32 and parse the external term
format. Boxed values will go into the `self.lit_heap`.
Given ` inflated ` the byte contents of literal table read the u32 / big ` count ` and for every encoded term skip u32 and parse the external term format . Boxed values will go into the ` self . lit_heap ` .
fn decode_literals(&mut self, inflated: Vec<u8>) {
    //dump_vec(&inflated);
    // Decode literals into literal heap here
    let mut r = BinaryReader::from_bytes(inflated);
    let count = r.read_u32be();
    self.lit_tab.reserve(count as usize);
    for _i in 0..count {
      // size should match actual consumed ETF bytes so can skip it here
      let _size = r.read_u32be();
      let mut tb = TermBuilder::new(&mut self.lit_heap);
      let literal = etf::decode(&mut r, &mut tb).unwrap();
      self.lit_tab.push(literal);
    }
  }
fn decode_literals ( & mut self , inflated : Vec < u8 > ) { //dump_vec(&inflated); // Decode literals into literal heap here let mut r = BinaryReader :: from_bytes ( inflated ) ; let count = r . read_u32be ( ) ; self . lit_tab . reserve ( count as usize ) ; for _i in 0 .. count { // size should match actual consumed ETF bytes so can skip it here let _size = r . read_u32be ( ) ; let mut tb = TermBuilder :: new ( & mut self . lit_heap ) ; let literal = etf :: decode ( & mut r , & mut tb ) . unwrap ( ) ; self . lit_tab . push ( literal ) ; } }
Given `inflated`, the byte contents of literal table, read the u32/big
`count` and for every encoded term skip u32 and parse the external term
format.
Given ` inflated ` the byte contents of literal table read the u32 / big ` count ` and for every encoded term skip u32 and parse the external term format .
&mut self
inflated
Vec<u8>