From d0d06e421f5eb8a617d1959ff5573684c293358b Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Sat, 19 Aug 2017 12:26:09 -0700 Subject: [PATCH] added alternative representation for huffman bistream --- doc/zstd_compression_format.md | 5 +++++ 1 file changed, 5 insertions(+) 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.