Wolfgang Thallergcc16 merge934c3885 months agoHistory
149 lines · 4.4 KB · Text
RawDownload
.TH ZLIB 3 "22 Jan 2024".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, assuming that the standard library functionsused are thread safe, such as memory allocation routines.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 may be added laterwith the same stream interface..LPCompression can be done in a single step if the buffers are large enoughor 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.IR gzip (1)(.gz) formatwith an interface similar to that of stdio..LPThe library does not install any signal handler.The decoder checks the consistency of the compressed data,so the library should never crash even in the 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 libraryin the files.I test/example.cand.IR test/minigzip.c,as well as other examples in the.IR examples/directory..LPChanges to this version are documented in the file.I ChangeLogthat accompanies the source..LP.I zlibis built in to many languages and operating systems, including but not limited toJava, Python, .NET, PHP, Perl, Ruby, Swift, and Go..LPAn experimental package to read and write files in the .zip format,written on top of.I zlibby Gilles Vollant (info@winimage.com),is available at:.IPhttp://www.winimage.com/zLibDll/minizip.htmland also in the.I contrib/minizipdirectory of the main.I zlibsource distribution..SH "SEE ALSO"The.I zlibweb site can be found at:.IPhttp://zlib.net/.LPThe data format used by the.I zliblibrary is described by RFC(Request for Comments) 1950 to 1952 in the files:.IPhttp://tools.ietf.org/html/rfc1950 (for the zlib header and trailer format).brhttp://tools.ietf.org/html/rfc1951 (for the deflate compressed data format).brhttp://tools.ietf.org/html/rfc1952 (for the gzip header and trailer format).LPMark Nelson wrote an article about.I zlibfor the Jan. 1997 issue of  Dr. Dobb's Journal;a copy of the article is available at:.IPhttp://marknelson.us/1997/01/01/zlib-engine/.SH "REPORTING PROBLEMS"Before reporting a problem,please check the.I zlibweb site to verify that you have the latest version of.IR zlib ;otherwise,obtain the latest version and see if the problem still exists.Please read the.I zlibFAQ at:.IPhttp://zlib.net/zlib_faq.html.LPbefore asking for help.Send questions and/or comments to zlib@gzip.org,or (for the Windows DLL version) to Gilles Vollant (info@winimage.com)..SH AUTHORS AND LICENSEVersion 1.3.1.LPCopyright (C) 1995-2024 Jean-loup Gailly and Mark Adler.LPThis software is provided 'as-is', without any express or impliedwarranty.  In no event will the authors be held liable for any damagesarising from the use of this software..LPPermission is granted to anyone to use this software for any purpose,including commercial applications, and to alter it and redistribute itfreely, subject to the following restrictions:.LP.nr step 1 1.IP \n[step]. 3The origin of this software must not be misrepresented; you must notclaim that you wrote the original software. If you use this softwarein a product, an acknowledgment in the product documentation would beappreciated but is not required..IP \n+[step].Altered source versions must be plainly marked as such, and must not bemisrepresented as being the original software..IP \n+[step].This notice may not be removed or altered from any source distribution..LPJean-loup Gailly        Mark Adler.brjloup@gzip.org          madler@alumni.caltech.edu.LPThe 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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t