Nilorea Library
C utilities for networking, threading, graphics
n_zlib.h File Reference

ZLIB compression handler. More...

#include <zlib.h>
#include "n_str.h"
+ Include dependency graph for n_zlib.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int CompressData (unsigned char *abSrc, unsigned int nLenSrc, unsigned char *abDst, unsigned int nLenDst)
 Compress a string to another. More...
 
int GetMaxCompressedLen (unsigned int nLenSrc)
 Return the maximum compressed size. More...
 
int UncompressData (unsigned char *abSrc, unsigned int nLenSrc, unsigned char *abDst, unsigned int nLenDst)
 Uncompress a string to another. More...
 
N_STRunzip_nstr (N_STR *src)
 return an uncompressed version of src More...
 
N_STRzip_nstr (N_STR *src)
 return a compressed version of src More...
 

Detailed Description

ZLIB compression handler.

Author
Castagnier Mickael
Version
1.0
Date
27/06/2017

Definition in file n_zlib.h.