Files | Functions

ZIPUtils

Files

file  ZipUtils.h

Functions

int ccInflateCCZFile (const char *filename, unsigned char **out)
int ccInflateGZipFile (const char *filename, unsigned char **out)
int ccInflateMemory (unsigned char *in, unsigned int inLength, unsigned char **out)

Function Documentation

int ccInflateCCZFile ( const char *  filename,
unsigned char **  out 
)

inflates a CCZ file into memory

Returns:
the length of the deflated buffer
Since:
v0.99.5
int ccInflateGZipFile ( const char *  filename,
unsigned char **  out 
)

inflates a GZip file into memory

Returns:
the length of the deflated buffer
Since:
v0.99.5
int ccInflateMemory ( unsigned char *  in,
unsigned int  inLength,
unsigned char **  out 
)

Inflates either zlib or gzip deflated memory. The inflated memory is expected to be freed by the caller.

Returns:
the length of the deflated buffer
Since:
v0.8.1