ultimatepp/uppsrc/plugin/bz2/bz2.h
cxl dc43f41756 BRC now support LZ4, LZMA and Zstd compression
git-svn-id: svn://ultimatepp.org/upp/trunk@11043 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-05-01 09:26:27 +00:00

20 lines
737 B
C++

#ifndef __Plugin_BZ2__
#define __Plugin_BZ2__
namespace Upp {
void BZ2Compress(Stream& out, Stream& in, Gate<int, int> progress = Null);
void BZ2Decompress(Stream& out, Stream& in, Gate<int, int> progress = Null);
String BZ2Compress(Stream& in, Gate<int, int> progress = Null);
String BZ2Decompress(Stream& in, Gate<int, int> progress = Null);
String BZ2Compress(const void *data, int64 len, Gate<int, int> progress);
String BZ2Decompress(const void *data, int64 len, Gate<int, int> progress = Null);
String BZ2Compress(const String& data, Gate<int, int> progress = Null);
String BZ2Decompress(const String& data, Gate<int, int> progress = Null);
}
#endif//__Plugin_Z__