16.16 OEUncompress

bool OEUncompress(std::string &uncompressed, const char *compressed,
                  unsigned int len, const char *format = "gz")
bool OEUncompress(std::string &uncompressed, const std::string &compressed,
                  const char *format = "gz")

These functions uncompress the data in the compressed data buffer using the specified compression format and stores the uncompressed data in the uncompressed string. Returns whether or not the specified compression format was available and if the data was successfully uncompressed using that format.