Mana
Loading...
Searching...
No Matches
Functions
zlib.cpp File Reference
#include "utils/zlib.h"
#include "log.h"
#include <cassert>
#include <cstdlib>

Go to the source code of this file.

Functions

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

Function Documentation

◆ inflateMemory() [1/2]

int inflateMemory ( unsigned char *  in,
unsigned int  inLength,
unsigned char *&  out 
)

Definition at line 100 of file zlib.cpp.

◆ inflateMemory() [2/2]

int inflateMemory ( unsigned char *  in,
unsigned int  inLength,
unsigned char *&  out,
unsigned int &  outLength 
)

Inflates either zlib or gzip deflated memory.

The inflated memory is expected to be freed by the caller.

Definition at line 34 of file zlib.cpp.