OEUncompress¶
bool OEUncompress(std::string &dst, const std::string &src, const char *fmt="gz")
bool OEUncompress(std::string &dst, const char *src, size_t size, const char *fmt="gz")
Uncompresses the data in the compressed data buffer, src
,
using the specified compression format, fmt
, and stores the uncompressed
data in the uncompressed string dst
. Returns whether or not the
specified compression format was available and if the data was
successfully uncompressed using that format.