3#ifndef ENGINE_SHARED_COMPRESSION_H
4#define ENGINE_SHARED_COMPRESSION_H
15 static unsigned char *
Pack(
unsigned char *pDst,
int i,
int DstSize);
16 static const unsigned char *
Unpack(
const unsigned char *pSrc,
int *pInOut,
int SrcSize);
18 static long Compress(
const void *pSrc,
int SrcSize,
void *pDst,
int DstSize);
19 static long Decompress(
const void *pSrc,
int SrcSize,
void *pDst,
int DstSize);
Definition: compression.h:8
@ MAX_BYTES_PACKED
Definition: compression.h:12
static long Compress(const void *pSrc, int SrcSize, void *pDst, int DstSize)
Definition: compression.cpp:88
static unsigned char * Pack(unsigned char *pDst, int i, int DstSize)
Definition: compression.cpp:10
static const unsigned char * Unpack(const unsigned char *pSrc, int *pInOut, int SrcSize)
Definition: compression.cpp:40
static long Decompress(const void *pSrc, int SrcSize, void *pDst, int DstSize)
Definition: compression.cpp:68