From: Yann Collet Date: Sat, 19 Aug 2017 19:26:09 +0000 (-0700) Subject: added alternative representation for huffman bistream X-Git-Tag: v1.3.1^2~1^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0d06e421f5eb8a617d1959ff5573684c293358b;p=thirdparty%2Fzstd.git added alternative representation for huffman bistream --- diff --git a/doc/zstd_compression_format.md b/doc/zstd_compression_format.md index ce703606f..86d5ef263 100644 --- a/doc/zstd_compression_format.md +++ b/doc/zstd_compression_format.md @@ -1266,6 +1266,11 @@ Resulting in following 2-bytes bitstream : 00010000 00001101 ``` +alternative representation with clearer separation of fields : +``` +0001_0000 00001_1_01 +``` + Reading highest `Max_Number_of_Bits` bits, it's possible to compare extracted value to decoding table, determining the symbol to decode and number of bits to discard.