#include <ZippedOutputStream.h>
List of all members.
Detailed Description
output filter stream to zip data
Constructor & Destructor Documentation
| TZippedOutputStream::TZippedOutputStream |
( |
IOutputStream & |
rParentStream, |
|
|
Int |
iZipLevel = 4, |
|
|
bool |
bUseRawDeflate = false |
|
) |
| |
Creates a zip output stream filter
- Parameters:
-
| rParentStream | : Target stream |
| iZipLevel | : Zipping level must be set between 0 and 9. 0 = no compression; 1 = best speed and 9 = best compression (default is 4) |
| bUseRawDeflate | : setting this flag no zlib header or trailer will be added to the compressed data. |
| TZippedOutputStream::~TZippedOutputStream |
( |
) |
[protected, virtual] |
Destroys the zip output stream filter
Member Function Documentation
| void MQUALIFIER TZippedOutputStream::close |
( |
) |
[inline, virtual] |
| Retval TZippedOutputStream::compressStream |
( |
const IByteArray & |
rRawInput, |
|
|
IByteArray & |
rCompressedOutput |
|
) |
| [static] |
compresses the data of a byte array.
- Parameters:
-
| rRawInput | : raw data to compress |
| rCompressedOutput | : output compressed stream |
- Return values:
-
| RET_NOERROR | : stream compressed |
| RET_REQUEST_FAILED | : could not compress the stream |
| void MQUALIFIER TZippedOutputStream::flush |
( |
) |
[virtual] |
| Retval MQUALIFIER TZippedOutputStream::write |
( |
const char * |
pBuffer, |
|
|
Int |
iBufferSize |
|
) |
| [virtual] |
| Retval MQUALIFIER TZippedOutputStream::writeInt8 |
( |
Int8 |
cData ) |
[virtual] |
The documentation for this class was generated from the following files: