Introduction
Top  Next

XbZLib is a wrapper library for the ZLib library, which is a freely available compression library utilising the Deflate algorithm.

XbZLib supplies wrapper functions for all of the Utility functions exposed by ZLib. This includes the ability to compress/decompress memory variables and open, close, read and write .gzip files.

In addition, XbZLib supplies a class to handle .zip files. This class allows you to read, write and create .zip files, and add, update and delete file and directory entries in .zip files. This class also allows decompressing of all or single files and directories from a .zip file with just a simple method call.

Further, XbZLib also offers the ability to move a file from one .zip archive to another and also create virtual entries in .zip files and modify the file attributes, file names, and date/time stamps of existing file entries.

There are several features that are not yet implemented, that deal with the extended functionalities of Zip Files for various Operating and File Systems, encrypting and signing of Zip Files. Maybe those features will be added later, though.

NOTE: ZLib (and hence XbZLib) only handles files compressed using the Deflate compression method, or files that have been Stored!