Classes | |
struct | ZLib::tsZLibHdr |
Gzip file header structure, see RFC 1952. More... |
Namespaces | |
namespace | ZLib |
Macros | |
#define | ZLIB_HDR_ID1 0x1F |
#define | ZLIB_HDR_ID2 0x8B |
#define | ZLIB_HDR_CM_DEFLATE 8 |
#define | ZLIB_HDR_FLG_FTEXT 0x01 |
#define | ZLIB_HDR_FLG_FHCRC 0x02 |
#define | ZLIB_HDR_FLG_FEXTRA 0x04 |
#define | ZLIB_HDR_FLG_FNAME 0x08 |
#define | ZLIB_HDR_FLG_FCOMMENT 0x10 |
#define | ZLIB_HDR_XFL_MAX_COMP 0x02 |
#define | XLIB_HDR_XFL_FAST_COMP 0x04 |
Enumerations | |
enum | ZLib::teZlibErr { ZLib::eeOK = 0, ZLib::eeSTREAM_END = 1, ZLib::eeNEED_DICT = 2, ZLib::eeERRNO = (-1), ZLib::eeSTREAM_ERROR = (-2), ZLib::eeDATA_ERROR = (-3), ZLib::eeMEM_ERROR = (-4), ZLib::eeBUF_ERROR = (-5), ZLib::eeVERSION_ERROR = (-6) } |
Functions | |
int | ZLib::Compress (unsigned char *apDest, unsigned int *apDestLen, unsigned char *apSource, unsigned int anSourceLen) |
Compress a memory mapped image to a gzip compatible output image, including the necessary header for decoding by gzip versions 1.2.3 or higher. | |
int | ZLib::UnCompress (unsigned char *apDest, unsigned int *apDestLen, unsigned char *apSource, unsigned int anSourceLen) |
UnCompresses a gzip image to a memory image. |
Variables | |
static const unsigned int | ZLib::GZ_HEADER_SIZE = 10 |
#define ZLIB_HDR_ID1 0x1F |
#define ZLIB_HDR_ID2 0x8B |
#define ZLIB_HDR_CM_DEFLATE 8 |
#define ZLIB_HDR_FLG_FTEXT 0x01 |
#define ZLIB_HDR_FLG_FHCRC 0x02 |
#define ZLIB_HDR_FLG_FEXTRA 0x04 |
#define ZLIB_HDR_FLG_FNAME 0x08 |
#define ZLIB_HDR_FLG_FCOMMENT 0x10 |
#define ZLIB_HDR_XFL_MAX_COMP 0x02 |
#define XLIB_HDR_XFL_FAST_COMP 0x04 |