Click here to Skip to main content
15,884,826 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
what is the difference "gzip" and "deflate"?

how do i compress and decompress by deflate algorithm (no gzip!)
Posted

As CPallini said the Wikipedia article is a good place to start, you should also learn to use Google, the first few hits would give you the answers you are looking for. Anyway, read this article[^] for an explanation of the Deflate algorithm. There is some example code of the Deflate algorithm here[^].
 
Share this answer
 
Quote:
what is the difference "gzip" and "deflate"?
The gzip Wikipedia page[^] sheds some light on the argument.

Quote:
how do i compress and decompress by deflate algorithm (no gzip!)
Since gzip is a free implementation of the deflate algorithm I see no reason why you shouldn't use it. Anyway you might also write your own deflate implementation.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900