bool OECompress(std::string &compressed, const char *original, unsigned int len, const char *format = "gz") bool OECompress(std::string &compressed, const std::string &original, const char *format = "gz")
These functions compress the data in the original
data buffer using the
specified compression format and stores the compressed data in the
compressed
string. Returns whether or not the specified compression
format was available and if the data was successfully compressed using that
format.