| Qore Programming Language Reference Manual 2.2.0

Loading...
Searching...
No Matches
ql_compression.dox.h
1
3 namespace Qore {
8
10
21 binary bunzip2_to_binary(binary bin);
22
24
28nothing bunzip2_to_binary();
29
31
43 string bunzip2_to_string(binary bin, *string encoding);
44
46
50nothing bunzip2_to_string();
51
53
66 binary bzip2(binary bin, softint level = BZ2_DEFAULT_COMPRESSION);
67
69
84 binary bzip2(string str, softint level = BZ2_DEFAULT_COMPRESSION);
85
87
91nothing bzip2();
92
94
109 binary compress(string str, int level = Z_DEFAULT_COMPRESSION);
110
112
127 binary compress(binary bin, int level = Z_DEFAULT_COMPRESSION);
128
130
134nothing compress();
135
137
152 Transform get_compressor(string alg, int level = COMPRESSION_LEVEL_DEFAULT);
153
155
169 Transform get_decompressor(string alg);
170
172
183 binary gunzip_to_binary(binary bin);
184
186
190nothing gunzip_to_binary();
191
193
205 string gunzip_to_string(binary bin, *string encoding);
206
208
212nothing gunzip_to_string();
213
215
230 binary gzip(string str, int level = Z_DEFAULT_COMPRESSION);
231
233
246 binary gzip(binary bin, int level = Z_DEFAULT_COMPRESSION);
247
249
253nothing gzip();
254
256
267 binary uncompress_to_binary(binary bin);
268
270
274nothing uncompress_to_binary();
275
277
289 string uncompress_to_string(binary bin, *string encoding);
290
292
296nothing uncompress_to_string();
297
299}
300
302 namespace Qore {
306
308 const BZ2_DEFAULT_COMPRESSION = BZ2_DEFAULT_COMPRESSION;
310 const COMPRESSION_LEVEL_DEFAULT = COMPRESSION_LEVEL_DEFAULT;
312 const Z_DEFAULT_COMPRESSION = Z_DEFAULT_COMPRESSION;
314}
315
317 namespace Qore {
333
335 const COMPRESSION_ALG_BZIP2 = str(CompressionTransforms::ALG_BZIP2);
337 const COMPRESSION_ALG_GZIP = str(CompressionTransforms::ALG_GZIP);
339 const COMPRESSION_ALG_ZLIB = str(CompressionTransforms::ALG_ZLIB);
341}
Qore::Transform
Marker interface for transformations usable in TransformOutputStream and TransformInputStream.
Definition QC_Transform.dox.h:12
Qore::BZ2_DEFAULT_COMPRESSION
const BZ2_DEFAULT_COMPRESSION
gives the default compression level for the bzip2() function, providing a trade-off between compressi...
Definition ql_compression.dox.h:308
Qore::COMPRESSION_LEVEL_DEFAULT
const COMPRESSION_LEVEL_DEFAULT
Identifies the default compression level appropriate for given algorithm.
Definition ql_compression.dox.h:310
Qore::Z_DEFAULT_COMPRESSION
const Z_DEFAULT_COMPRESSION
gives the default compression level for the compress() and gzip() functions, providing a trade-off be...
Definition ql_compression.dox.h:312
Qore::COMPRESSION_ALG_GZIP
const COMPRESSION_ALG_GZIP
Identifies the GZIP Format (RFC 1952)
Definition ql_compression.dox.h:337
Qore::COMPRESSION_ALG_ZLIB
const COMPRESSION_ALG_ZLIB
Identifies the ZLIB Compressed Data Format (RFC 1950)
Definition ql_compression.dox.h:339
Qore::COMPRESSION_ALG_BZIP2
const COMPRESSION_ALG_BZIP2
Identifies the bzip2 algorithm
Definition ql_compression.dox.h:335
Qore::get_decompressor
Transform get_decompressor(string alg)
Returns a Transform object for decompressing data using the given algorithm for use with TransformInp...
Qore::bzip2
nothing bzip2()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::gunzip_to_string
nothing gunzip_to_string()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::gunzip_to_binary
nothing gunzip_to_binary()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::compress
nothing compress()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::uncompress_to_string
nothing uncompress_to_string()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::get_compressor
Transform get_compressor(string alg, int level=COMPRESSION_LEVEL_DEFAULT)
Returns a Transform object for compressing data using the given algorithm for use with TransformInput...
Qore::bunzip2_to_binary
nothing bunzip2_to_binary()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::bunzip2_to_string
nothing bunzip2_to_string()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::gzip
nothing gzip()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::uncompress_to_binary
nothing uncompress_to_binary()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore
main Qore-language namespace
Definition Pseudo_QC_All.dox.h:3