Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
README.examples | H A D | 15-Oct-2022 | 1.9 KiB | 55 | 44 | |
enough.c | H A D | 15-Oct-2022 | 24.3 KiB | 598 | 291 | |
fitblk.c | H A D | 22-Sep-2024 | 8.4 KiB | |||
gun.c | H A D | 15-Oct-2022 | 25.3 KiB | 703 | 484 | |
gzappend.c | H A D | 15-Oct-2022 | 16.6 KiB | 505 | 321 | |
gzjoin.c | H A D | 10-Jan-2017 | 13.8 KiB | 450 | 275 | |
gzlog.c | H A D | 22-Sep-2024 | 40.6 KiB | |||
gzlog.h | H A D | 15-Oct-2022 | 4.5 KiB | 92 | 8 | |
gznorm.c | H A D | 15-Oct-2022 | 21.7 KiB | 471 | 225 | |
zlib_how.html | H A D | 22-Sep-2024 | 29.1 KiB | |||
zpipe.c | H A D | 10-Jan-2017 | 6.2 KiB | 206 | 142 | |
zran.c | H A D | 22-Sep-2024 | 20.9 KiB | |||
zran.h | H A D | 22-Sep-2024 | 2.7 KiB |
README.examples
1This directory contains examples of the use of zlib and other relevant 2programs and documentation. 3 4enough.c 5 calculation and justification of ENOUGH parameter in inftrees.h 6 - calculates the maximum table space used in inflate tree 7 construction over all possible Huffman codes 8 9fitblk.c 10 compress just enough input to nearly fill a requested output size 11 - zlib isn't designed to do this, but fitblk does it anyway 12 13gun.c 14 uncompress a gzip file 15 - illustrates the use of inflateBack() for high speed file-to-file 16 decompression using call-back functions 17 - is approximately twice as fast as gzip -d 18 - also provides Unix uncompress functionality, again twice as fast 19 20gzappend.c 21 append to a gzip file 22 - illustrates the use of the Z_BLOCK flush parameter for inflate() 23 - illustrates the use of deflatePrime() to start at any bit 24 25gzjoin.c 26 join gzip files without recalculating the crc or recompressing 27 - illustrates the use of the Z_BLOCK flush parameter for inflate() 28 - illustrates the use of crc32_combine() 29 30gzlog.c 31gzlog.h 32 efficiently and robustly maintain a message log file in gzip format 33 - illustrates use of raw deflate, Z_PARTIAL_FLUSH, deflatePrime(), 34 and deflateSetDictionary() 35 - illustrates use of a gzip header extra field 36 37gznorm.c 38 normalize a gzip file by combining members into a single member 39 - demonstrates how to concatenate deflate streams using Z_BLOCK 40 41zlib_how.html 42 painfully comprehensive description of zpipe.c (see below) 43 - describes in excruciating detail the use of deflate() and inflate() 44 45zpipe.c 46 reads and writes zlib streams from stdin to stdout 47 - illustrates the proper use of deflate() and inflate() 48 - deeply commented in zlib_how.html (see above) 49 50zran.c 51zran.h 52 index a zlib or gzip stream and randomly access it 53 - illustrates the use of Z_BLOCK, inflatePrime(), and 54 inflateSetDictionary() to provide random access 55