Geant4-11
|
#include "zlib.h"
Go to the source code of this file.
Macros | |
#define | ZLIB_INTERNAL |
Functions | |
int ZEXPORT | compress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen) |
int ZEXPORT | compress2 (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level) |
uLong ZEXPORT | compressBound (uLong sourceLen) |
#define ZLIB_INTERNAL |
Definition at line 7 of file compress.c.
int ZEXPORT compress | ( | Bytef * | dest, |
uLongf * | destLen, | ||
const Bytef * | source, | ||
uLong | sourceLen | ||
) |
Definition at line 67 of file compress.c.
References compress2(), and Z_DEFAULT_COMPRESSION.
int ZEXPORT compress2 | ( | Bytef * | dest, |
uLongf * | destLen, | ||
const Bytef * | source, | ||
uLong | sourceLen, | ||
int | level | ||
) |
Definition at line 21 of file compress.c.
References z_stream_s::avail_in, z_stream_s::avail_out, deflate(), deflateEnd(), deflateInit, G4INCL::Math::max(), z_stream_s::next_in, z_stream_s::next_out, z_stream_s::opaque, z_stream_s::total_out, Z_FINISH, Z_NO_FLUSH, 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 80 of file compress.c.