Highly Reusable Software
Professions, Sciences, Humanities, Business, ...
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...
Conversions, tests, processing, manipulation,...
Integer, Floating point, Matrix, Statistics, Boolean, ...
Algorithms, Memory, Process control, Debugging, ...
Data storage, Integrity, Encryption, Compression, ...
Networks, protocols, Interprocess, Remote, Client Server, ...
Timing, Calendar and Clock, Audio, Video, Printer, Controls...
Management, Filtering, File & Directory access, Viewers, ...
librock_zlib - standard zlib compression and decompression, with librock_ name prefix
#License - #Source code - #Example Use -
This is version 1.1.4 of zlib, Jean-loup Gailly and Mark Adler's very
popular compression library, modified so that the interface and header file
librock_ prefix exclusively in all defines and external
names and macro definitions. The librock license awareness
system is also present in this implementation.
The zlib compression library provides in-memory compression and
decompression functions, including integrity checks of the uncompressed
Compression 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. [details]
The opposite action, called inflation, is similar. [details]
The library also supports a stdio-like interface to gzip (.gz) files
(reading, writing, seeking, rewinding, puts, gets, printf, et al.)
The interface to checksum functions is also exposed. [details]
These functions are well-behaved in multi-threaded environments.
The zlib functions do not install any signal handler, and return error
codes instead of exiting or throwing exceptions. The decoder checks
the consistency of the compressed data, so the library should never
crash even in case of corrupted input.
Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler
Licensed under BSD-ish license, NO WARRANTY. Copies must retain this block.
License text in <librock/license/zlib.txt> librock_LIDESC_HC=d49ece91d0f3402f1ca405bc4ae7b2a989a56ab2
./librock/zlibh.h (implementation, plus source of this manual page)
This software is part of Librock
Rapid reuse, without rework.
- Source code which is Open-source, Free (Libre) and free (no cost)
- Namespace limited. All compile-time macros and names visible at link time are prefixed by "librock_". Integrate into your project and expect no name collisions.
- Stable API means new functions get new names so that there is no risk that updating a source file will break existing applications.
- Highly portable, cross-platform, and multithread compatible. Works with many machines, compilers, and operating systems (gcc/MSVC/Windows/Linux/BSD).
This page copyright (C) 2002-2003 Forrest J. Cavalier III, d-b-a Mib Software, Saylorsburg PA 18353, USA
Verbatim copying and distribution of this generated page is permitted in any medium provided that no changes are made.
(The source of this manual page may be covered by a more permissive license which allows modifications.)
Want to help? We welcome comments, patches. -- Need help? Request paid support.