version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
ZLIB |
|
|
2 |
!!!ZLIB |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
SEE ALSO |
|
|
7 |
AUTHORS |
|
|
8 |
---- |
|
|
9 |
!!NAME |
|
|
10 |
|
|
|
11 |
|
|
|
12 |
zlib - compression/decompression library |
|
|
13 |
!!SYNOPSIS |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
[[see ''zlib.h'' for full description] |
|
|
17 |
!!DESCRIPTION |
|
|
18 |
|
|
|
19 |
|
|
|
20 |
The ''zlib'' library is a general purpose data |
|
|
21 |
compression library. The code is thread safe. It provides |
|
|
22 |
in-memory compression and decompression functions, including |
|
|
23 |
integrity checks of the uncompressed data. This version of |
|
|
24 |
the library supports only one compression method (deflation) |
|
|
25 |
but other algorithms will be added later and will have the |
|
|
26 |
same stream interface. |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
Compression can be done in a single step if the buffers are |
|
|
30 |
large enough (for example if an input file is mmap'ed), or |
|
|
31 |
can be done by repeated calls of the compression function. |
|
|
32 |
In the latter case, the application must provide more input |
|
|
33 |
and/or consume the output (providing more output space) |
|
|
34 |
before each call. |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
The library also supports reading and writing files in |
|
|
38 |
''gzip'' (.gz) format with an interface similar to that |
|
|
39 |
of stdio. |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
The library does not install any signal handler. The decoder |
|
|
43 |
checks the consistency of the compressed data, so the |
|
|
44 |
library should never crash even in case of corrupted |
|
|
45 |
input. |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
All functions of the compression library are documented in |
|
|
49 |
the file ''zlib.h.'' The distribution source includes |
|
|
50 |
examples of use of the library the files ''example.c'' |
|
|
51 |
and ''minigzip.c''. |
|
|
52 |
|
|
|
53 |
|
|
|
54 |
A Java implementation of ''zlib'' is available in the |
|
|
55 |
Java Development Kit 1.1 |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
http://www.javasoft.com/products/JDK/1.1/docs/api/Package-java.util.zip.html |
|
|
59 |
|
|
|
60 |
|
|
|
61 |
A Perl interface to ''zlib'', written by Paul Marquess |
|
|
62 |
(pmarquess@bfsec.bt.co.uk) is available at CPAN |
|
|
63 |
(Comprehensive Perl Archive Network) sites, such |
|
|
64 |
as: |
|
|
65 |
|
|
|
66 |
|
|
|
67 |
ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/Compress/Compress-Zlib* |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
A Python interface to ''zlib'' written by A.M. Kuchling |
|
|
71 |
'' |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
ftp://ftp.python.org/pub/python/contrib/Encoding/zlib*.tar.gz |
|
|
75 |
!!SEE ALSO |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
Questions about zlib should be sent to: |
|
|
79 |
|
|
|
80 |
|
|
|
81 |
zlib@quest.jpl.nasa.gov or, if this fails, to the author |
|
|
82 |
addresses given below. The zlib home page is: |
|
|
83 |
|
|
|
84 |
|
|
|
85 |
http://www.cdrom.com/pub/infozip/zlib/ |
|
|
86 |
|
|
|
87 |
|
|
|
88 |
The data format used by the zlib library is described by RFC |
|
|
89 |
(Request for Comments) 1950 to 1952 in the |
|
|
90 |
files: |
|
|
91 |
|
|
|
92 |
|
|
|
93 |
ftp://ds.internic.net/rfc/rfc1950.txt (zlib format) |
|
|
94 |
rfc1951.txt (deflate format) |
|
|
95 |
rfc1952.txt (gzip format) |
|
|
96 |
|
|
|
97 |
|
|
|
98 |
These documents are also available in other formats |
|
|
99 |
from: |
|
|
100 |
|
|
|
101 |
|
|
|
102 |
ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html |
|
|
103 |
!!AUTHORS |
|
|
104 |
|
|
|
105 |
|
|
|
106 |
Version 1.1.4 Copyright (C) 1995-2002 Jean-loup Gailly |
|
|
107 |
(jloup@gzip.org) and Mark Adler |
|
|
108 |
(madler@alumni.caltech.edu). |
|
|
109 |
|
|
|
110 |
|
|
|
111 |
This software is provided |
|
|
112 |
zlib'' was defined by Phil Katz. The deflate |
|
|
113 |
and ''zlib'' specifications were written by L. Peter |
|
|
114 |
Deutsch. Thanks to all the people who reported problems and |
|
|
115 |
suggested various improvements in ''zlib''; who are too |
|
|
116 |
numerous to cite here. |
|
|
117 |
|
|
|
118 |
|
|
|
119 |
UNIX manual page by R. P. C. Rodgers, U.S. National Library |
|
|
120 |
of Medicine (rodgers@nlm.nih.gov). |
|
|
121 |
---- |