Gzip
From Just Solve the File Format Problem
(Difference between revisions)
(→Links) |
(→Identification) |
||
Line 10: | Line 10: | ||
== Identification == | == Identification == | ||
− | gzip files begin with two signature bytes: <code> | + | gzip files begin with two signature bytes: <code>0x1F 0x8B</code>. The third byte indicates the compression method, and is normally <code>0x08</code> (meaning DEFLATE). |
+ | |||
+ | gzip 0.5 apparently used [[Freeze/Melt]] 1.x format, with signature bytes <code>0x1F 0x9E</code>. | ||
== Specifications == | == Specifications == |
Revision as of 20:39, 4 January 2014
gzip is a compressed file format and command line utility used primarily on Unix-style operating systems, but available cross-platform. It uses DEFLATE compression.
Contents |
Identification
gzip files begin with two signature bytes: 0x1F 0x8B
. The third byte indicates the compression method, and is normally 0x08
(meaning DEFLATE).
gzip 0.5 apparently used Freeze/Melt 1.x format, with signature bytes 0x1F 0x9E
.