Documentation of the module zlib

by Peter Verhas

Table of Contents


1. Introduction


2. Zlib functions

To use these function the program has to import the file zlib.bas

import zlib.bas

The functions in this module are:


3. Compress a string

CompressedString = zlib::Compress(UncompressedString)
This function implements a simple compression interface.


4. Uncompress a string

UncompressedString = zlib::UnCompress(CompressedString)
This function implements a simple uncompression interface.


5. Compress a file

zlib::gzip input_file [,output_file]
This command compresses a file.


6. Uncompress a file

zlib::gunzip input_file [,output_file]
This command uncompresses a file.