goldendict-ng/decompress.hh

16 lines
353 B
C++

#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 );
#endif // DECOMPRESS_HH