Typically clusters have a size of about 1 MB. The purpose of the clusters are that data of more than one directory entry can be compressed inside one cluster, making the compression much more efficient. Clusters can be compressed or uncompressed. The clusters contain the actual data of the directory entries. The cluster pointer list is a list of 8 byte offsets which point to all data clusters in a ZIM archive. Reader implementation may check for those value and ignore the whole dirent. They have mimetype equal to 0xfffe or 0xfffd. There is two kinds of deprecated entry that could be found in pretty old zim files (I, main develloper of libzim, never saw it). ![]() Pointer to the directory entry of the redirect target String with an title as refered in the Title pointer list or empty in case it is empty, the URL is used as title String with the URL as refered in the URL pointer list (not used) identifies a revision of the contents of this directory entry, needed to identify updates or revisions in the original history (must be 0)Ĭluster number in which the data of this directory entry is storedīlob number inside the compressed cluster where the contents are stored (not used) length of extra paramters (must be 0)ĭefines to which namespace this directory entry belongs MIME type number as defined in the MIME type list There are different types of directory entries:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |