I'm currently working on a mini library for myself to compress and extract ZIP files. So far I don't have any major problems with the documentation, except that I don't get what "disks" are in a ZIP file and how to calculate the number of a disk:
4.3.16 End of central directory record:
end of central dir signature 4 bytes (0x06054b50) number of this disk 2 bytes <= What does "disk" mean here? number of the disk with the start of the central directory 2 bytes <= What does "disk" mean here? total number of entries in the central directory on this disk 2 bytes <= What does "disk" mean here? total number of entries in the central directory 2 bytes size of the central directory 4 bytes offset of start of central directory with respect to the starting disk number 4 bytes <= What does "disk" mean here? .ZIP file comment length 2 bytes .ZIP file comment (variable size)