![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cStreamZLib.h>
Public Types | |
| typedef int | ZRET_t |
Public Member Functions | |
| cStreamZLibBase () | |
| virtual | ~cStreamZLibBase () |
| virtual HRESULT | FlushX ()=0 |
| int | get_DataTypeCode () const |
| e.g. Z_ASCII More... | |
| UNITTEST_FRIEND (cStreamZLib) | |
Static Public Member Functions | |
| static HRESULT GRAYCALL | GetHResultFrom (ZRET_t izRet) |
| static HRESULT GRAYCALL | Compress1 (BYTE *pDest, size_t nDestSizeMax, const void *pSrc, size_t nSrcSize) |
| static HRESULT GRAYCALL | Decompress1 (void *pDest, size_t nDestSizeMax, const BYTE *pSrc, size_t nSrcSize) |
Public Attributes | |
| struct z_stream_s * | m_pzstm |
| pointer to hidden/opaque/private zlib implementation. More... | |
Protected Member Functions | |
| void | InitializeInt () |
| void | CleanupInt () |
ZLIB stream compress or decompress common base. similar to DeflateStream in .NET. (optionally similar to GZipStream) Handles HTTP Content-Encoding: deflate (optionally supports gzip) similar to ZStream and com.jcraft.jzlib.ZStream
| typedef int GrayLib::cStreamZLibBase::ZRET_t |
| GrayLib::cStreamZLibBase::cStreamZLibBase | ( | ) |
|
virtual |
|
protected |
|
static |
|
static |
|
pure virtual |
Implemented in GrayLib::cStreamZLibDecompress, and GrayLib::cStreamZLibCompress.
| int GrayLib::cStreamZLibBase::get_DataTypeCode | ( | ) | const |
e.g. Z_ASCII
|
protected |
| GrayLib::cStreamZLibBase::UNITTEST_FRIEND | ( | cStreamZLib | ) |
| struct z_stream_s* GrayLib::cStreamZLibBase::m_pzstm |
pointer to hidden/opaque/private zlib implementation.