2.4.1.1.6 CompressedChunkData

If CompressedChunkHeader.CompressedChunkFlag (section 2.4.1.1.5) is 0b0, CompressedChunkData contains an array of CompressedChunkHeader.CompressedChunkSize elements plus 1 bytes of uncompressed data.

If CompressedChunkHeader CompressedChunkFlag is 0b1, CompressedChunkData contains an array of TokenSequence (section 2.4.1.1.7) elements.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Data (variable)

...

...

...

Data (variable): An array of bytes. Specifies an encoding of bytes from the DecompressedBuffer (section 2.4.1.1.2). The size of Data in bytes MUST be CompressedChunk.CompressedChunkHeader.CompressedChunkSize (section 2.4.1.1.4) plus 1. Bytes from the DecompressedChunk (section 2.4.1.1.3) are encoded and written to Data by the Compressing a DecompressedChunk (section 2.4.1.3.7) algorithm. Data is read from the CompressedChunk to be decoded and written to the DecompressedChunk by the Decompressing a CompressedChunk (section 2.4.1.3.2) algorithm.