Definition at line 288 of file huffman.h.
References isLeaf, lut, nbits, and symbol.
Referenced by Huffman::Decode().
295 while (out_ptr < out_end)
296 *out_ptr++ = p->lut->symbol;
301 while (in_ptr<in_end && out_ptr<out_end)
303 const uint16_t *two = (uint16_t*)in_ptr;
305 const uint8_t curbyte = (*two >> curbit);
309 throw std::runtime_error(
"Unknown bitcode in stream!");
315 p = p->lut + curbyte;
322 *out_ptr++ = p->symbol;
335 return curbit ? in_ptr+1 : in_ptr;