Comment by nikanj
13 days ago
At the end of the ZIP file, there's a central directory of all files contained in that archive. Read the last block, seek to the block containing the file you want to access, done
13 days ago
At the end of the ZIP file, there's a central directory of all files contained in that archive. Read the last block, seek to the block containing the file you want to access, done
> At the end of the ZIP file, there's a central directory of all files contained in that archive.
Where does that begin?
> Read the last block
You mean the last 4KB chunk defined by the file system, or what? The comment can be up to 64KB long.
> You mean the last 4KB chunk defined by the file system, or what? The comment can be up to 64KB long.
Okay, the last 65KB.
Are you nitpicking now that you learned about the directory, or did you know about it before your first comment and pretended not to for some reason?