#include <XPCompression.h>
Public Member Functions | |
XPCompression () | |
virtual | ~XPCompression () |
int | CalculateMaximumMemory (int size) |
bool | Compress (void *source_data, int source_length, void *destination_data, int *destination_length, int level=10) |
bool | Decompress (void *source_data, int source_length, void *destination_data, int *destination_length) |
|
The ctor performs some basic initialisation |
|
The dtor makes sure everything is tidy |
|
Given an input size calculate the maximum absolute worse case for the compressed output
|
|
Compress a block of memory
|
|
Decompress a block of memory
|