MCPcopy Create free account
hub / github.com/rsc/tmp / ReadHuffmanCode

Function ReadHuffmanCode

brotli/dec_decode.c:750–872  ·  view source on GitHub ↗

Decodes the Huffman tables. There are 2 scenarios: A) Huffman code contains only few symbols (1..4). Those symbols are read directly; their code lengths are defined by the number of symbols. For this scenario 4 - 49 bits will be read. B) 2-phase decoding: B.1) Small Huffman table is decoded; it is specified with code lengths encoded with predefined entropy co

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

HuffmanTreeGroupDecodeFunction · 0.85
DecodeContextMapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…