NameDateSize

..11-Jun-202447

fitblk.cH A D14-Jan-20068.4 KiB

gun.cH A D14-Jan-200624.9 KiB

gzappend.cH A D14-Jan-200616.5 KiB

gzjoin.cH A D14-Jan-200613.7 KiB

gzlog.cH A D14-Jan-200611.3 KiB

gzlog.hH A D14-Jan-20062.8 KiB

README.examplesH A D14-Jan-20061.5 KiB

zlib_how.htmlH A D14-Jan-200628 KiB

zpipe.cH A D14-Jan-20065.7 KiB

zran.cH A D14-Jan-200615 KiB

README.examples

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