Static Public Member Functions

DataCompressor Class Reference

Does compression on a block of data. Not very good compression, but it's small and fast so is something you can compute at runtime. More...

#include <DataCompressor.h>

List of all members.

Static Public Member Functions

static void Compress (unsigned char *userData, unsigned sizeInBytes, RakNet::BitStream *output)
static unsigned DecompressAndAllocate (RakNet::BitStream *input, unsigned char **output)

Detailed Description

Does compression on a block of data. Not very good compression, but it's small and fast so is something you can compute at runtime.

Definition at line 18 of file DataCompressor.h.


Member Function Documentation

void DataCompressor::Compress ( unsigned char *  userData,
unsigned  sizeInBytes,
RakNet::BitStream output 
) [static]

Definition at line 6 of file DataCompressor.cpp.

Here is the call graph for this function:

unsigned DataCompressor::DecompressAndAllocate ( RakNet::BitStream input,
unsigned char **  output 
) [static]

Definition at line 34 of file DataCompressor.cpp.

Here is the call graph for this function:


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