Use zlib library for Data Compression
Zlib is designed to be a free, general-purpose, legally unencumbered -- that is, not covered by any patents -- lossless data-compression library for use on usually ally any computer hardware and operating system.
Recently, in completing a project, you need to use the C + + language to read the contents of a specified file within a zip file. A lot of information on the Internet, in response to the problems encountered in the process, I also studied a bit, is
Zlib is a data compression library that is designed to handle simple data (regardless of the source of the data).
Gzip is a file compression tool (or the compressed file format produced by the compression tool) that is designed to work with
zlib IntroductionZlib is a library of functions for data compression, developed by Jean-loup Gailly and Mark Adler, and published on May 1, 1995 in the first edition of version 0.9. Zlib uses the DEFLATE algorithm, originally written for the Libpng
Miniz-single C source file deflate/inflate compression library with zlib-compatible API, ZIP Archive reading/writing, PNG writing-Google Project hosting
Miniz. C is a lossless, high performance data compression library in a single source file
The Sequncefile compression type (Compression type) is divided into three none,record,block, specified by the configuration item Io.seqfile.compression.type: None, do not compress records is not compressed RECORD, Compress values only, each
This article mainly describes the use of Java-related classes can be implemented to the file or folder compression.
Zlib is a data compression library that is designed to handle simple data (regardless of the source of the data).
7z is a new
1. How to obtain zlib
The home page of zlib is: http://www.zlib.net/
2. Use VC ++ 6.0 to open
DownloadSource codeDecompress and open. The vc6.0 project has been created. In \ projects \ visualc6. double-click zlib. DSW, you can see in VC ++ 6.0
The zlib Library is a well-known compression engine, andzlib is also the compression engine used by the famous gzip (GNU Zip) .How do I install the zlib library?First, install zlib, download the latest source program from its official website,
Preface:In the current mobile phone application, compression technology may not attract much attention, but we can note that when the mobile phone communicates with the server, speed and stability are very important, in this phase, if we send the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.