#include <djv_compressStream.h>

Static Public Member Functions | |
| static AutoPtr< InflateStream > | create (Stream *inStream, size_t inCompressedSizeInStream=0, size_t inZPBlockSize=16) |
Class used to decompress data that was compressed by a DeflateStream instance. This implementation uses ZPCodec.
| static AutoPtr<InflateStream> Celartem::DjVu::InflateStream::create | ( | Stream * | inStream, | |
| size_t | inCompressedSizeInStream = 0, |
|||
| size_t | inZPBlockSize = 16 | |||
| ) | [static] |
Creates an InflateStream instance.
| inStream | Stream containing the compressed data. | |
| inCompressedSizeInStream | The size of the compressed data written in inStream instance (The size of the compressed data). If the compressed size is unknown, you can leave it as 0 but in that case, the reading beyond the end of compressed data may result in unexpected behavior. | |
| inZPBlockSize | Specifies the size of the internal buffer that the ZPCodec uses. The larger value results in better speed but comsumes more memory. |