A massively spiffy yet delicately unobtrusive compression library. (grpc依赖)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Mark Adler 64b2e89203 zlib 0.9 13 years ago
ChangeLog zlib 0.9 13 years ago
Makefile zlib 0.9 13 years ago
Makefile.bak zlib 0.9 13 years ago
Makefile.bor zlib 0.9 13 years ago
Makefile.msc zlib 0.9 13 years ago
Makefile.tc zlib 0.9 13 years ago
README zlib 0.9 13 years ago
adler32.c zlib 0.71 13 years ago
compress.c zlib 0.8 13 years ago
crc32.c zlib 0.9 13 years ago
deflate.c zlib 0.9 13 years ago
deflate.h zlib 0.9 13 years ago
example.c zlib 0.9 13 years ago
gzio.c zlib 0.9 13 years ago
infblock.c zlib 0.9 13 years ago
infblock.h zlib 0.9 13 years ago
infcodes.c zlib 0.9 13 years ago
infcodes.h zlib 0.71 13 years ago
inffast.c zlib 0.9 13 years ago
inffast.h zlib 0.79 13 years ago
inflate.c zlib 0.9 13 years ago
inftest.c zlib 0.8 13 years ago
inftrees.c zlib 0.8 13 years ago
inftrees.h zlib 0.71 13 years ago
infutil.c zlib 0.9 13 years ago
infutil.h zlib 0.9 13 years ago
minigzip.c zlib 0.8 13 years ago
trees.c zlib 0.9 13 years ago
uncompr.c zlib 0.71 13 years ago
zconf.h zlib 0.9 13 years ago
zlib.h zlib 0.9 13 years ago
zutil.c zlib 0.8 13 years ago
zutil.h zlib 0.9 13 years ago

README

zlib 0.9 is a beta version of a general purpose compression library.

The data format used by the zlib library is described in the
file zlib-3.1.doc, deflate-1.1.doc and gzip-4.1.doc, available
in ftp.uu.net:/pub/archiving/zip/doc.

All functions of the compression library are documented in the file
zlib.h. A usage example of the library is given in the file example.c
which also tests that the library is working correctly.
To compile all files and run the test program, just type: make test

The changes made in version 0.9 are documented in the file ChangeLog.
The main changes since 0.8 are:
- don't assume that zalloc clears the allocated memory
- let again gzread copy uncompressed data unchanged (was working in 0.71)
- deflate(Z_FULL_FLUSH), inflateReset and inflateSync are now fully implemented

On MSDOS, this version works in both large and small model. However
small model compression works only for small values of MEM_LEVEL and
WBITS (see zutil.h). Small model decompression should work up to WBITS=15.
This version of zlib does not support small or medium model with far
allocation of big objects.


Copyright (C) 1995 Jean-loup Gailly and Mark Adler

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.

Jean-loup Gailly Mark Adler
gzip@prep.ai.mit.edu madler@cco.caltech.edu

If you use the zlib library in a product, we would appreciate *not*
receiving lengthy legal documents to sign. The sources are provided
for free but without warranty of any kind. The library has been
entirely written by Jean-loup Gailly and Mark Adler; it does not
include third-party code.

If you redistribute modified sources, we would appreciate that you include
in the file ChangeLog history information documenting your changes.