DDraceNetwork Docs
CVariableInt Class Reference

#include <compression.h>

Public Types

enum  { MAX_BYTES_PACKED = 5 }
 

Static Public Member Functions

static unsigned char * Pack (unsigned char *pDst, int i, int DstSize)
 
static const unsigned char * Unpack (const unsigned char *pSrc, int *pInOut, int SrcSize)
 
static long Compress (const void *pSrc, int SrcSize, void *pDst, int DstSize)
 
static long Decompress (const void *pSrc, int SrcSize, void *pDst, int DstSize)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
MAX_BYTES_PACKED 

Member Function Documentation

◆ Compress()

long CVariableInt::Compress ( const void *  pSrc,
int  SrcSize,
void *  pDst,
int  DstSize 
)
static

◆ Decompress()

long CVariableInt::Decompress ( const void *  pSrc,
int  SrcSize,
void *  pDst,
int  DstSize 
)
static

◆ Pack()

unsigned char * CVariableInt::Pack ( unsigned char *  pDst,
int  i,
int  DstSize 
)
static

◆ Unpack()

const unsigned char * CVariableInt::Unpack ( const unsigned char *  pSrc,
int *  pInOut,
int  SrcSize 
)
static

The documentation for this class was generated from the following files: