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>
Static Public Member Functions | |
static void | Compress (unsigned char *userData, unsigned sizeInBytes, RakNet::BitStream *output) |
static unsigned | DecompressAndAllocate (RakNet::BitStream *input, unsigned char **output) |
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.
void DataCompressor::Compress | ( | unsigned char * | userData, | |
unsigned | sizeInBytes, | |||
RakNet::BitStream * | output | |||
) | [static] |
unsigned DataCompressor::DecompressAndAllocate | ( | RakNet::BitStream * | input, | |
unsigned char ** | output | |||
) | [static] |