![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cStreamBZ2.h>
Public Member Functions | |
cStreamBZ2Base () | |
virtual | ~cStreamBZ2Base () |
virtual HRESULT | FlushX ()=0 |
UNITTEST_FRIEND (cStreamBZ2Base) | |
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) |
Protected Types | |
typedef int | ZRET_t |
Protected Member Functions | |
void | InitializeInt () |
void | CleanupInt () |
Protected Attributes | |
void * | m_pzstm |
pointer to private/opaque bz_stream BZ2 implementation. More... | |
BZ2 stream compress or decompress common base. BZ2 has better Huffman compression than ZIP. similar to DeflateStream in .NET. (optionally similar to GZipStream) Handles HTTP Content-Encoding: bzip2 similar to ZStream and com.jcraft.jBZ2.ZStream
|
protected |
GrayLib::cStreamBZ2Base::cStreamBZ2Base | ( | ) |
|
virtual |
|
protected |
|
static |
|
static |
|
pure virtual |
Implemented in GrayLib::cStreamBZ2Decompress, and GrayLib::cStreamBZ2Compress.
|
protected |
GrayLib::cStreamBZ2Base::UNITTEST_FRIEND | ( | cStreamBZ2Base | ) |
|
protected |
pointer to private/opaque bz_stream BZ2 implementation.