goldendict-ng/src/decompress.hh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
444 B
C++
Raw Normal View History

#ifndef __DECOMPRESS_HH_INCLUDED__
#define __DECOMPRESS_HH_INCLUDED__
#include <QByteArray>
#include <string>
using std::string;
QByteArray zlibDecompress( const char * bufptr, unsigned length );
string decompressZlib( const char * bufptr, unsigned length );
string decompressBzip2( const char * bufptr, unsigned length );
2015-01-22 15:17:05 +00:00
string decompressLzma2( const char * bufptr, unsigned length, bool raw_decoder = false );
#endif // DECOMPRESS_HH