diff options
Diffstat (limited to 'examples/README.examples')
-rw-r--r-- | examples/README.examples | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/README.examples b/examples/README.examples new file mode 100644 index 0000000..1084525 --- /dev/null +++ b/examples/README.examples | |||
@@ -0,0 +1,29 @@ | |||
1 | This directory contains examples of the use of zlib. | ||
2 | |||
3 | fitblk.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 | |||
7 | gzappend.c | ||
8 | append to a gzip file | ||
9 | - illustrates the use of the Z_BLOCK flush parameter for inflate() | ||
10 | - illustrates the use of deflatePrime() to start at any bit | ||
11 | |||
12 | gzjoin.c | ||
13 | join gzip files without recalculating the crc or recompressing | ||
14 | - illustrates the use of the Z_BLOCK flush parameter for inflate() | ||
15 | - illustrates the use of crc32_combine() | ||
16 | |||
17 | gzlog.c | ||
18 | gzlog.h | ||
19 | efficiently maintain a message log file in gzip format | ||
20 | - illustrates use of raw deflate and Z_SYNC_FLUSH | ||
21 | - illustrates use of gzip header extra field | ||
22 | |||
23 | zlib_how.html | ||
24 | painfully comprehensive description of zpipe.c (see below) | ||
25 | - describes in excruciating detail the use of deflate() and inflate() | ||
26 | |||
27 | zpipe.c | ||
28 | reads and writes zlib streams from stdin to stdout | ||
29 | - illustrates the proper use of deflate() and inflate() | ||