Documentation of the module zlib

by Peter Verhas

Table of Contents

[Contents]

1. Introduction

[Contents]

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:

[Contents]

3. Compress a string

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

[Contents]

4. Uncompress a string

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

[Contents]

5. Compress a file

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

[Contents]

6. Uncompress a file

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