Xar (Extensible Archive)
From Just Solve the File Format Problem
(Difference between revisions)
Dexvertbot (Talk | contribs) m (Change telparia.com samples link to template) |
m (Add Kaitai Struct schema) |
||
Line 3: | Line 3: | ||
|extensions={{ext|xar}} | |extensions={{ext|xar}} | ||
|pronom={{PRONOM|fmt/600}} | |pronom={{PRONOM|fmt/600}} | ||
+ | |kaitai struct=xar | ||
}} | }} | ||
:''For other "Xar" formats, see the [[Xar]] disambiguation page.'' | :''For other "Xar" formats, see the [[Xar]] disambiguation page.'' |
Latest revision as of 17:36, 26 December 2024
- For other "Xar" formats, see the Xar disambiguation page.
xar (eXtensible ARchive) is an open-source archive format which stores its directory information and other metadata in the form of XML.
The file format starts with a short binary header (which begins with the "magic" sequence consisting of "xar!" expressed as a 32-bit integer made from the ASCII character representations (0x78617221) in network byte order (big-endian). This byte order is used for all multi-byte numbers in the binary portions of the file format.
After the header is the directory information and metadata in XML, using the UTF-8 character encoding.
The remainder of the file consists of the binary data of the archive contents, known as "The Heap".
Contents |