cannam@89
|
1 This directory contains examples of the use of zlib and other relevant
|
cannam@89
|
2 programs and documentation.
|
cannam@89
|
3
|
cannam@89
|
4 enough.c
|
cannam@89
|
5 calculation and justification of ENOUGH parameter in inftrees.h
|
cannam@89
|
6 - calculates the maximum table space used in inflate tree
|
cannam@89
|
7 construction over all possible Huffman codes
|
cannam@89
|
8
|
cannam@89
|
9 fitblk.c
|
cannam@89
|
10 compress just enough input to nearly fill a requested output size
|
cannam@89
|
11 - zlib isn't designed to do this, but fitblk does it anyway
|
cannam@89
|
12
|
cannam@89
|
13 gun.c
|
cannam@89
|
14 uncompress a gzip file
|
cannam@89
|
15 - illustrates the use of inflateBack() for high speed file-to-file
|
cannam@89
|
16 decompression using call-back functions
|
cannam@89
|
17 - is approximately twice as fast as gzip -d
|
cannam@89
|
18 - also provides Unix uncompress functionality, again twice as fast
|
cannam@89
|
19
|
cannam@89
|
20 gzappend.c
|
cannam@89
|
21 append to a gzip file
|
cannam@89
|
22 - illustrates the use of the Z_BLOCK flush parameter for inflate()
|
cannam@89
|
23 - illustrates the use of deflatePrime() to start at any bit
|
cannam@89
|
24
|
cannam@89
|
25 gzjoin.c
|
cannam@89
|
26 join gzip files without recalculating the crc or recompressing
|
cannam@89
|
27 - illustrates the use of the Z_BLOCK flush parameter for inflate()
|
cannam@89
|
28 - illustrates the use of crc32_combine()
|
cannam@89
|
29
|
cannam@89
|
30 gzlog.c
|
cannam@89
|
31 gzlog.h
|
cannam@89
|
32 efficiently and robustly maintain a message log file in gzip format
|
cannam@89
|
33 - illustrates use of raw deflate, Z_PARTIAL_FLUSH, deflatePrime(),
|
cannam@89
|
34 and deflateSetDictionary()
|
cannam@89
|
35 - illustrates use of a gzip header extra field
|
cannam@89
|
36
|
cannam@89
|
37 zlib_how.html
|
cannam@89
|
38 painfully comprehensive description of zpipe.c (see below)
|
cannam@89
|
39 - describes in excruciating detail the use of deflate() and inflate()
|
cannam@89
|
40
|
cannam@89
|
41 zpipe.c
|
cannam@89
|
42 reads and writes zlib streams from stdin to stdout
|
cannam@89
|
43 - illustrates the proper use of deflate() and inflate()
|
cannam@89
|
44 - deeply commented in zlib_how.html (see above)
|
cannam@89
|
45
|
cannam@89
|
46 zran.c
|
cannam@89
|
47 index a zlib or gzip stream and randomly access it
|
cannam@89
|
48 - illustrates the use of Z_BLOCK, inflatePrime(), and
|
cannam@89
|
49 inflateSetDictionary() to provide random access
|