2012-02-09 12:50:38 +00:00
|
|
|
#ifndef __DECOMPRESS_HH_INCLUDED__
|
|
|
|
#define __DECOMPRESS_HH_INCLUDED__
|
|
|
|
|
2013-04-23 16:38:30 +00:00
|
|
|
#include <QByteArray>
|
2012-02-09 12:50:38 +00:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
using std::string;
|
|
|
|
|
2013-04-23 16:38:30 +00:00
|
|
|
QByteArray zlibDecompress( const char * bufptr, unsigned length );
|
2012-02-09 12:50:38 +00:00
|
|
|
|
2013-04-23 16:38:30 +00:00
|
|
|
string decompressZlib( const char * bufptr, unsigned length );
|
|
|
|
|
|
|
|
string decompressBzip2( const char * bufptr, unsigned length );
|
2012-02-09 12:50:38 +00:00
|
|
|
|
2015-01-22 15:17:05 +00:00
|
|
|
string decompressLzma2( const char * bufptr, unsigned length, bool raw_decoder = false );
|
2013-09-14 16:17:32 +00:00
|
|
|
|
2012-02-09 12:50:38 +00:00
|
|
|
#endif // DECOMPRESS_HH
|