Idel Pivnitskiy
|
ed7240b597
|
Implemented a Bzip2Encoder
Motivation:
Bzip2Encoder provides sending data compressed in bzip2 format.
Modifications:
Added classes:
- Bzip2Encoder
- Bzip2BitWriter
- Bzip2BlockCompressor
- Bzip2DivSufSort
- Bzip2HuffmanAllocator
- Bzip2HuffmanStageEncoder
- Bzip2MTFAndRLE2StageEncoder
- Bzip2EncoderTest
Modified classes:
- Bzip2Constants (splited BLOCK_HEADER_MAGIC and END_OF_STREAM_MAGIC)
- Bzip2Decoder (use splited magic numbers)
Added integration tests for Bzip2Encoder/Decoder
Result:
Implemented new encoder which can compress outgoing data in bzip2 format.
|
2014-07-17 16:19:39 +02:00 |
|