Qore Programming Language Reference Manual 1.14.2
Loading...
Searching...
No Matches
ql_compression.dox.h
1
3namespace Qore {
8
10
22
24
29
31
43string bunzip2_to_string(binary bin, *string encoding);
44
46
51
53
67
69
84binary bzip2(string str, softint level = BZ2_DEFAULT_COMPRESSION);
85
87
91nothing bzip2();
92
94
109binary compress(string str, int level = Z_DEFAULT_COMPRESSION);
110
112
128
130
134nothing compress();
135
137
153
155
170
172
184
186
191
193
205string gunzip_to_string(binary bin, *string encoding);
206
208
213
215
230binary gzip(string str, int level = Z_DEFAULT_COMPRESSION);
231
233
247
249
253nothing gzip();
254
256
268
270
275
277
289string uncompress_to_string(binary bin, *string encoding);
290
292
297
299}
300
302namespace Qore {
306
314}
315
317namespace 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}
Marker interface for transformations usable in TransformOutputStream and TransformInputStream.
Definition: QC_Transform.dox.h:12
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
const COMPRESSION_LEVEL_DEFAULT
Identifies the default compression level appropriate for given algorithm.
Definition: ql_compression.dox.h:310
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
const COMPRESSION_ALG_GZIP
Identifies the GZIP Format (RFC 1952)
Definition: ql_compression.dox.h:337
const COMPRESSION_ALG_ZLIB
Identifies the ZLIB Compressed Data Format (RFC 1950)
Definition: ql_compression.dox.h:339
const COMPRESSION_ALG_BZIP2
Identifies the bzip2 algorithm
Definition: ql_compression.dox.h:335
Transform get_decompressor(string alg)
Returns a Transform object for decompressing data using the given algorithm for use with TransformInp...
nothing bzip2()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
nothing gunzip_to_string()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
nothing gunzip_to_binary()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
nothing compress()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
nothing uncompress_to_string()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
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...
nothing bunzip2_to_binary()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
nothing bunzip2_to_string()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
nothing gzip()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
nothing uncompress_to_binary()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
binary binary()
Always returns an empty binary object (of zero length)
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3