]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
added alternative representation for huffman bistream
authorYann Collet <cyan@fb.com>
Sat, 19 Aug 2017 19:26:09 +0000 (12:26 -0700)
committerYann Collet <cyan@fb.com>
Sat, 19 Aug 2017 19:26:09 +0000 (12:26 -0700)
doc/zstd_compression_format.md

index ce703606f7052f1ba7659769ad59b85864329a64..86d5ef2638ec9579f3c8aacbfcaf3ca78184f352 100644 (file)
@@ -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.