You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Shigeki Ohtsu 50f12f6c8a deps: upgrade zlib to 1.2.8 10 years ago
..
Makefile deps: upgrade zlib to 1.2.8 10 years ago
README deps: upgrade zlib to 1.2.8 10 years ago
puff.c deps: upgrade zlib to 1.2.8 10 years ago
puff.h deps: upgrade zlib to 1.2.8 10 years ago
pufftest.c deps: upgrade zlib to 1.2.8 10 years ago
zeros.raw deps: upgrade zlib to 1.2.8 10 years ago

README

Puff -- A Simple Inflate
3 Mar 2003
Mark Adler
madler@alumni.caltech.edu

What this is --

puff.c provides the routine puff() to decompress the deflate data format. It
does so more slowly than zlib, but the code is about one-fifth the size of the
inflate code in zlib, and written to be very easy to read.

Why I wrote this --

puff.c was written to document the deflate format unambiguously, by virtue of
being working C code. It is meant to supplement RFC 1951, which formally
describes the deflate format. I have received many questions on details of the
deflate format, and I hope that reading this code will answer those questions.
puff.c is heavily commented with details of the deflate format, especially
those little nooks and cranies of the format that might not be obvious from a
specification.

puff.c may also be useful in applications where code size or memory usage is a
very limited resource, and speed is not as important.

How to use it --

Well, most likely you should just be reading puff.c and using z