Zstandard
From Just Solve the File Format Problem
(Difference between revisions)
m (Fixed typo) |
(Added link to Zstandard dictionary) |
||
Line 7: | Line 7: | ||
'''Zstandard''', or '''Zstd''', is a general-purpose compression algorithm and file format. It is designed to have a good balance between compression ratio, compression speed, and decompression speed. | '''Zstandard''', or '''Zstd''', is a general-purpose compression algorithm and file format. It is designed to have a good balance between compression ratio, compression speed, and decompression speed. | ||
+ | Zstandard is able to use [[Zstandard dictionary|a "dictionary" format]] to make compression of files of an already known type more efficient. | ||
== Identification == | == Identification == | ||
For at least some versions of Zstd format, files begin with signature bytes {{magic|25 b5 2f fd}}. For files created since version 0.8.0 (August 2016<ref>https://github.com/facebook/zstd/releases/tag/v0.8.0</ref>), the header is instead {{magic|28 b5 2f fd}}<ref>https://github.com/facebook/zstd/blob/dev/lib/zstd.h, definition of ZSTD_MAGICNUMBER</ref>. | For at least some versions of Zstd format, files begin with signature bytes {{magic|25 b5 2f fd}}. For files created since version 0.8.0 (August 2016<ref>https://github.com/facebook/zstd/releases/tag/v0.8.0</ref>), the header is instead {{magic|28 b5 2f fd}}<ref>https://github.com/facebook/zstd/blob/dev/lib/zstd.h, definition of ZSTD_MAGICNUMBER</ref>. |
Revision as of 06:38, 12 May 2019
Zstandard, or Zstd, is a general-purpose compression algorithm and file format. It is designed to have a good balance between compression ratio, compression speed, and decompression speed.
Zstandard is able to use a "dictionary" format to make compression of files of an already known type more efficient.
Contents |
Identification
For at least some versions of Zstd format, files begin with signature bytes 25 b5 2f fd
. For files created since version 0.8.0 (August 2016[1]), the header is instead 28 b5 2f fd
[2].
Software
- Zstandard →
zstd
,unzstd
,zstdcat
Links
References
- ↑ https://github.com/facebook/zstd/releases/tag/v0.8.0
- ↑ https://github.com/facebook/zstd/blob/dev/lib/zstd.h, definition of ZSTD_MAGICNUMBER