Added note about invalid block type value

This commit is contained in:
Ende 2015-10-26 16:22:28 -04:00
parent 10522411f1
commit e544a185f9
2 changed files with 207 additions and 206 deletions

View File

@ -1008,9 +1008,10 @@ lengths and distances, respectively, is encoded in the meta-block
header, and it must equal to the largest block type plus one in that header, and it must equal to the largest block type plus one in that
block category. In other words, the set of literal, insert-and-copy block category. In other words, the set of literal, insert-and-copy
length and distance block types must be [0..NBLTYPESL-1], length and distance block types must be [0..NBLTYPESL-1],
[0..NBLTYPESI-1], and [0..NBLTYPESD-1], respectively. From this it [0..NBLTYPESI-1], and [0..NBLTYPESD-1], respectively. If a block type
follows that the alphabet size of literal, insert-and-copy length and has a value outside its respective range, the stream should be rejected as
distance block type codes is NBLTYPES + 2, NBLTYPESI + 2 and invalid. From this it follows that the alphabet size of literal, insert-and-copy
length and distance block type codes is NBLTYPES + 2, NBLTYPESI + 2 and
NBLTYPESD + 2, respectively. NBLTYPESD + 2, respectively.
Each block count in the compressed data is represented with a pair Each block count in the compressed data is represented with a pair

File diff suppressed because it is too large Load Diff