NCBI C++ ToolKit
Macros | Functions
compress.c File Reference
#include "zlib.h"
+ Include dependency graph for compress.c:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.




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)

Macro Definition Documentation



Definition at line 8 of file compress.c.

Function Documentation

◆ compress()

int ZEXPORT compress ( Bytef dest,
uLongf destLen,
const Bytef source,
uLong  sourceLen 

Definition at line 68 of file compress.c.

References compress2(), rapidjson::source, and Z_DEFAULT_COMPRESSION.

◆ compress2()

int ZEXPORT compress2 ( Bytef dest,
uLongf destLen,
const Bytef source,
uLong  sourceLen,
int  level 

◆ compressBound()

uLong ZEXPORT compressBound ( uLong  sourceLen)

Definition at line 81 of file compress.c.

Modified on Sat Jun 22 10:40:06 2024 by rev. 669887