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