Blame | Last modification | View Log | RSS feed
.TH ZLIB 3 "9 July 1998".SH NAMEzlib \- compression/decompression library.SH SYNOPSIS[see.I zlib.hfor full description].SH DESCRIPTIONThe.I zliblibrary is a general purpose data compression library.The code is thread safe.It provides in-memory compression and decompression functions,including integrity checks of the uncompressed data.This version of the library supports only one compression method (deflation)but other algorithms will be added later and will have the same stream interface..LPCompression can be done in a single step if the buffers are large enough(for example if an input file is mmap'ed),or can be done by repeated calls of the compression function.In the latter case,the application must provide more input and/or consume the output(providing more output space) before each call..LPThe library also supports reading and writing files in.I gzip(.gz) formatwith an interface similar to that of stdio..LPThe library does not install any signal handler. The decoder checksthe consistency of the compressed data, so the library should nevercrash even in case of corrupted input..LPAll functions of the compression library are documented in the file.IR zlib.h.The distribution source includes examples of use of the librarythe files.I example.cand.IR minigzip.c ..LPA Java implementation of.IR zlibis available in the Java Development Kit 1.1.IPhttp://www.javasoft.com/products/JDK/1.1/docs/api/Package-java.util.zip.html.LPA Perl interface to.IR zlib ,written by Paul Marquess (pmarquess@bfsec.bt.co.uk)is available at CPAN (Comprehensive Perl Archive Network) sites,such as:.IPftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/Compress/Compress-Zlib*.LPA Python interface to.IR zlibwritten by A.M. Kuchling <amk@magnet.com>is available from the Python Software Association sites, such as:.IPftp://ftp.python.org/pub/python/contrib/Encoding/zlib*.tar.gz.SH "SEE ALSO"Questions about zlib should be sent to:.IPzlib@quest.jpl.nasa.govor, if this fails, to the author addresses given below.The zlib home page is:.IPhttp://www.cdrom.com/pub/infozip/zlib/.LPThe data format used by the zlib library is described by RFC(Request for Comments) 1950 to 1952 in the files:.IPftp://ds.internic.net/rfc/rfc1950.txt (zlib format).brrfc1951.txt (deflate format).brrfc1952.txt (gzip format).LPThese documents are also available in other formats from:.IPftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html.SH AUTHORSVersion 1.1.3Copyright (C) 1995-1998 Jean-loup Gailly (jloup@gzip.org)and Mark Adler (madler@alumni.caltech.edu)..LPThis software is provided "as-is,"without any express or implied warranty.In no event will the authors be held liable for any damagesarising from the use of this software.See the distribution directory with respect to requirementsgoverning redistribution.The deflate format used by.I zlibwas defined by Phil Katz.The deflate and.I zlibspecifications were written by L. Peter Deutsch.Thanks to all the people who reported problems and suggested variousimprovements in.IR zlib ;who are too numerous to cite here..LPUNIX manual page by R. P. C. Rodgers,U.S. National Library of Medicine (rodgers@nlm.nih.gov)..\" end of man page