Geant4.10
|
#include "zlib.h"
Go to the source code of this file.
Macros | |
#define | ZLIB_INTERNAL |
Functions | |
int ZEXPORT | compress2 (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level) |
int ZEXPORT | compress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen) |
uLong ZEXPORT | compressBound (uLong sourceLen) |
#define ZLIB_INTERNAL |
Definition at line 8 of file compress.cc.
int ZEXPORT compress | ( | Bytef * | dest, |
uLongf * | destLen, | ||
const Bytef * | source, | ||
uLong | sourceLen | ||
) |
Definition at line 57 of file compress.cc.
References compress2(), and Z_DEFAULT_COMPRESSION.
int ZEXPORT compress2 | ( | Bytef * | dest, |
uLongf * | destLen, | ||
const Bytef * | source, | ||
uLong | sourceLen, | ||
int | level | ||
) |
Definition at line 22 of file compress.cc.
References z_stream_s::avail_in, z_stream_s::avail_out, deflate(), deflateEnd(), deflateInit, z_stream_s::next_in, z_stream_s::next_out, z_stream_s::opaque, z_stream_s::total_out, Z_BUF_ERROR, Z_FINISH, Z_OK, Z_STREAM_END, z_stream_s::zalloc, and z_stream_s::zfree.
Referenced by compress().
uLong ZEXPORT compressBound | ( | uLong | sourceLen | ) |
Definition at line 66 of file compress.cc.