Static Public Member Functions

Celartem::DjVu::InflateStream Class Reference

#include <djv_compressStream.h>

Inheritance diagram for Celartem::DjVu::InflateStream:
Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static AutoPtr< InflateStreamcreate (Stream *inStream, size_t inCompressedSizeInStream=0, size_t inZPBlockSize=16)

Detailed Description

Class used to decompress data that was compressed by a DeflateStream instance. This implementation uses ZPCodec.


Member Function Documentation

static AutoPtr<InflateStream> Celartem::DjVu::InflateStream::create ( Stream inStream,
size_t  inCompressedSizeInStream = 0,
size_t  inZPBlockSize = 16 
) [static]

Creates an InflateStream instance.

Parameters:
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.
Returns:
Pointer to the newly create instance of InflateStream.

The documentation for this class was generated from the following file:

This document is made with doxygen 1.7.1 at Sun Sep 5 2010 13:03:40.
Caminova Logo