One, what is gzip gzip is a data format that, by default, compresses the data section using only the deflate algorithm; Gzip is a popular file compression algorithm and is now widely used, especially on Linux platforms. When applying gzip
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
First, the basic concept of LZ77 algorithm
LZ77 algorithm for the description of many online, this article for personal insights, only for reference.
I think the LZ77 algorithm is actually a variant of the dictionary compression, unlike the
Released on: 12/13/2004 | updated on: 12/13/2004
Ianier Munoz
This document assumes that you are familiar with C # And Windows Forms.
Download the code in this article:Zipcompression.exe(150kb)
Summary
When you store files or send files over the
Preface
More than a month ago, the project needed to understand how to process ZIP files in the Java language, and tried a variety of open-source projects and wrote several blogs to record them:
Http://blog.csdn.net/zhangyihui1986/article/details/
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
7-Zip is a compression software that claims to have the highest compression ratio today. It not only supports the unique 7z file format, but also supports a variety of other compression file formats, including ZIP, RAR, CAB, GZIP, BZIP2, and TAR.
In practical applications, there are sometimes three options for processing zip compression and decompression:
Call rar.exe, unzip.exe, etc.
Use a ready-made Library
Full handwriting
First, although the task can be completed, the results cannot
7-zip is a so-called compression software with the highest compression ratio today, it supports not only the unique 7z file format, but also various other compressed file formats, including Zip, RAR, CAB, GZIP, BZIP2 and tar. This software
Objective:Have done the Android network development know, in the network transmission we generally will turn on GZIP compression, but out of the nature of inquisitive only know how to open can not satisfy my curiosity, so think to write a demo test
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.