CtrlZlib is a shared library with functions for data compression. It is based on libz (gzip, gunzip). The function gzip() compresses the content of the parameter source. The result is saved in the parameter target. CAUTION Under Solaris a zlib (libz.so) version 1.2.3 is required for the use of the zip functions. Download the zlib version from the internet. |
Synopsis
bool gzip(blob | string source, blob &target); |
Parameters
Parameter |
Description |
source |
The content to be compressed. |
target |
The compressed content. |
Return value
TRUE = Successful FALSE = Failure |
Error
FALSE. |
Description
The function gzip() compresses the content of the parameter source. The result is saved in the parameter target. |
Example |
#uses "CtrlZlib"
main() { |
Member of
File function |
Availability
|
See also
|
V 3.11 SP1
Copyright