547
edits
Mgautierfr (talk | contribs) (→Header) |
(→Header) |
||
Line 12: | Line 12: | ||
| magicNumber || integer || 0 || 4 || Magic number to recognise the file format, must be 72173914 (0x44D495A) | | magicNumber || integer || 0 || 4 || Magic number to recognise the file format, must be 72173914 (0x44D495A) | ||
|- | |- | ||
|majorVersion | | majorVersion | ||
|integer | | integer | ||
|4 | | 4 | ||
|2 | | 2 | ||
|Major version of the ZIM archive format (6) | | Major version of the ZIM archive format (6) | ||
|- | |- | ||
| minorVersion || integer || 6 || 2 || Minor version of the ZIM archive format (1 for new namespace usage, 0 for old namespace usage) | | minorVersion || integer || 6 || 2 || Minor version of the ZIM archive format (1 for new namespace usage, 0 for old namespace usage) | ||
Line 41: | Line 41: | ||
| checksumPos || integer || 72 || 8 || pointer to the md5checksum of this archive without the checksum itself. This points always 16 bytes before the end of the archive. | | checksumPos || integer || 72 || 8 || pointer to the md5checksum of this archive without the checksum itself. This points always 16 bytes before the end of the archive. | ||
|} | |} | ||
=== Major & Minor versions === | |||
Major version is updated when an incompatible change is integrated in the format (a lib made for a version N will probably not be able to read a version N+1) | Major version is updated when an incompatible change is integrated in the format (a lib made for a version N will probably not be able to read a version N+1) |