1 .TH ZLIB 3 "9 July 1998"
3 zlib \- compression/decompression library
11 library is a general purpose data compression library.
12 The code is thread safe.
13 It provides in-memory compression and decompression functions,
14 including integrity checks of the uncompressed data.
15 This version of the library supports only one compression method (deflation)
16 but other algorithms will be added later and will have the same stream interface.
18 Compression can be done in a single step if the buffers are large enough
19 (for example if an input file is mmap'ed),
20 or can be done by repeated calls of the compression function.
22 the application must provide more input and/or consume the output
23 (providing more output space) before each call.
25 The library also supports reading and writing files in
28 with an interface similar to that of stdio.
30 The library does not install any signal handler. The decoder checks
31 the consistency of the compressed data, so the library should never
32 crash even in case of corrupted input.
34 All functions of the compression library are documented in the file
36 The distribution source includes examples of use of the library
42 A Java implementation of
44 is available in the Java Development Kit 1.1
46 http://www.javasoft.com/products/JDK/1.1/docs/api/Package-java.util.zip.html
50 written by Paul Marquess (pmarquess@bfsec.bt.co.uk)
51 is available at CPAN (Comprehensive Perl Archive Network) sites,
54 ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/Compress/Compress-Zlib*
58 written by A.M. Kuchling <amk@magnet.com>
59 is available from the Python Software Association sites, such as:
61 ftp://ftp.python.org/pub/python/contrib/Encoding/zlib*.tar.gz
63 Questions about zlib should be sent to:
65 zlib@quest.jpl.nasa.gov
66 or, if this fails, to the author addresses given below.
67 The zlib home page is:
69 http://www.cdrom.com/pub/infozip/zlib/
71 The data format used by the zlib library is described by RFC
72 (Request for Comments) 1950 to 1952 in the files:
74 ftp://ds.internic.net/rfc/rfc1950.txt (zlib format)
76 rfc1951.txt (deflate format)
78 rfc1952.txt (gzip format)
80 These documents are also available in other formats from:
82 ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html
85 Copyright (C) 1995-1998 Jean-loup Gailly (jloup@gzip.org)
86 and Mark Adler (madler@alumni.caltech.edu).
88 This software is provided "as-is,"
89 without any express or implied warranty.
90 In no event will the authors be held liable for any damages
91 arising from the use of this software.
92 See the distribution directory with respect to requirements
93 governing redistribution.
94 The deflate format used by
96 was defined by Phil Katz.
99 specifications were written by L. Peter Deutsch.
100 Thanks to all the people who reported problems and suggested various
103 who are too numerous to cite here.
105 UNIX manual page by R. P. C. Rodgers,
106 U.S. National Library of Medicine (rodgers@nlm.nih.gov).