zlib.cpp File Reference

#include <zlib.h>
#include "utils/logger.h"
#include "utils/zlib.hpp"

Go to the source code of this file.

Functions

bool inflateMemory (char *in, unsigned inLength, char *&out, unsigned &outLength)
 Inflates either zlib or gzip deflated memory.


Function Documentation

bool inflateMemory char *  in,
unsigned  inLength,
char *&  out,
unsigned &  outLength
 

Inflates either zlib or gzip deflated memory.

The inflated memory is expected to be freed by the caller. Returns true if the inflation was sucessful.

Definition at line 47 of file zlib.cpp.


Generated on Fri Mar 30 15:39:17 2007 for TMW Server by  doxygen 1.3.9.1