الرئيسية > comp > gb.compress 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr fa id vi ko ja ru zh zh_TW eo
السابق  التالي  تحرير  إعادة تسمية  تراجع  بحث  الإدارة  
المستندات  
تحذير! هذه الصفحة لم يتم ترجمتها.  See english version 
gb.compress
This المكوٍّن allows to compress and uncompress Files, and to read and write compressed files using standard التيار (stream) methods. It allows to compress and uncompress strings in memory, too.

Currently It can use two algorithms, provided by zlib and libbzip2. The more known programs using these algorithms are the command line tools "gzip" and "bzip2", so you can handle the files generated by these programs.

This المكوٍّن uses internally "libz" and "libbz2" libraries, so you need to install these libraries in the computers that are going to use the compression المكوٍّن. If you plan to use just one of these algorithms, you don't need to install both libraries.

More information about internals at:

http://www.gzip.org/zlib/

http://sources.redhat.com/bzip2/

All common GNU/Linux distributions include packages for these libraries, FreeBSD and other Unixes too. Both data compressors are patent-free, and currently can be used even in not open source programs, if you follow all the instructions contained in their licenses. (read them carefully for the version you plan to use)

Classes
Compress
Uncompress