#include <MemoryCompressor.h>
Inherits CompressorBase.
Public Member Functions | |
bool | Compress (char *input, const unsigned inputLength, bool finish) |
void | Clear (void) |
Resets the compressor and all data. |
bool MemoryCompressor::Compress | ( | char * | input, | |
const unsigned | inputLength, | |||
bool | finish | |||
) |
Compress a block of data. Pass true to finish if this is the last block in the series. If you don't know if it's the last block, you can call it again with 0 for inputLength
[in] | input | A pointer to a block of data |
[in] | inputLength | The length of input |
[in] | finish | Write the last of the data. |