XZ
From Just Solve the File Format Problem
(Difference between revisions)
(→Software) |
|||
Line 7: | Line 7: | ||
'''XZ''' is a stream compression format with built-in integrity checks. It uses [[LZMA2]] compression. Compressed streams are able to be concatenated and still be decompressible like a single-stream file. | '''XZ''' is a stream compression format with built-in integrity checks. It uses [[LZMA2]] compression. Compressed streams are able to be concatenated and still be decompressible like a single-stream file. | ||
+ | XZ is a successor to [[LZMA Alone|LZMA_Alone]] format, and an alternative to [[Lzip]]. | ||
+ | |||
+ | == Identification == | ||
XZ files always have lengths that are multiples of 4 bytes, and they begin with a 6-byte "magic" sequence of (hex) FD 37 7A 58 5A 00 and end with footer "magic bytes" of 59 5A. (The ending bytes can be verified as a sign that the file has not been truncated in transmission.) | XZ files always have lengths that are multiples of 4 bytes, and they begin with a 6-byte "magic" sequence of (hex) FD 37 7A 58 5A 00 and end with footer "magic bytes" of 59 5A. (The ending bytes can be verified as a sign that the file has not been truncated in transmission.) | ||
Revision as of 16:27, 25 July 2013
XZ is a stream compression format with built-in integrity checks. It uses LZMA2 compression. Compressed streams are able to be concatenated and still be decompressible like a single-stream file.
XZ is a successor to LZMA_Alone format, and an alternative to Lzip.
Identification
XZ files always have lengths that are multiples of 4 bytes, and they begin with a 6-byte "magic" sequence of (hex) FD 37 7A 58 5A 00 and end with footer "magic bytes" of 59 5A. (The ending bytes can be verified as a sign that the file has not been truncated in transmission.)
Software
References
- Current spec
- Official site (has historical specs with other info)
- Wikipedia article