Zlib
From Just Solve the File Format Problem
(Difference between revisions)
Dan Tobias (Talk | contribs) (→Identification) |
(→Software) |
||
Line 19: | Line 19: | ||
== Software == | == Software == | ||
* [http://zlib.net/ zlib data compression library] | * [http://zlib.net/ zlib data compression library] | ||
+ | * [http://code.google.com/p/miniz/ miniz] | ||
== Specifications == | == Specifications == |
Revision as of 03:08, 10 February 2014
zlib is a data compression library, and a general-purpose data compression format.
The data format uses DEFLATE compression. It is used in many other file formats, and sometimes on its own as a file format. It is defined in RFC 1950.
The zlib format is not the same as gzip format, but they are fairly similar, and both are supported by the zlib library.
Contents[hide] |
See also
Identification
The first byte of a zlib datastream has eight possible values: 0x08, 0x18, 0x28, ..., 0x78.
If the first two bytes are interpreted as a big-endian integer, it is always a multiple of 31.