Use consistent bit convention in Section 5.

Rather than say "lower 3 bits" in one sentence and "bits 3-5" in
the sentence right after, just consistently use the same convention
and say "0-2" and "3-5".
This commit is contained in:
Joe Tsai
2015-10-28 19:58:34 -07:00
parent fcd05db024
commit 2459bb743c

View File

@@ -1000,13 +1000,12 @@ and a copy length code, the following table can be used:
First, look up the cell with the 64 value range containing the
insert-and-copy length code, this gives the insert length code and
the copy length code ranges, both 8 values long. The copy length
code within its range is determined by the lowest 3 bits of the
insert-and-copy length code, and the insert length code within its
range is determined by bits 3-5 (counted from the LSB) of the
insert-and-copy length code. Given the insert length and copy length codes,
the actual insert and copy lengths can be obtained by reading the
number of extra bits given by the tables above.
the copy length code ranges, both 8 values long. Counting from the
LSB of the insert-and-copy length code, the copy length code within
its range is determined by bits 0-2, and the insert length code within
its range is determined by bits 3-5. Given the insert length and copy
length codes, the actual insert and copy lengths can be obtained by
reading the number of extra bits given by the tables above.
If the insert-and-copy length code is between 0 and 127, the distance
code of the command is set to zero (the last distance reused).