Skip to content
Example stream for minimum compressible raw data authored by Nico Bendlin's avatar Nico Bendlin
......@@ -111,6 +111,19 @@ can be compressed (including header) to 19 bytes:
61 literal = 'a'
62 literal = 'b'
Since the header has 12 octets, the first code has to be a literal,
and at least one length-distance pair is required to encode more
raw data than required for the compression header and data stream,
the minimum compressible raw data are 17 identical bytes:
01 4C 4F 42 magic
06 method
00 00 11 rawSize = 17
00 00 00 04 cmpSize = 4
80 flags = 10______
__ literal = __
0D 01 len/off = 16/-1
Notes
=====
......
......