Quantcast
Channel: sharpcompress Discussions Rss Feed
Viewing all articles
Browse latest Browse all 239

New Post: ZipX files

$
0
0
simmotech wrote:
Now I've read a bit more about the structure of ZIP files, I am under the impression that the directory of entries is stored at the end of the stream.
How can the chaining you describe work with a forward-only stream of bytes?
Zip does have a directory at the end. It has a header to show the start of a file as well as an optional signature at the end of files to know when they end and their size. When I write a zip file with the streaming write, it uses this end of file header.

For reading, I just look for the local file signature to show the start of a file. The directories are always there at the end with extra info but that's not necessarily required to read the files in a streaming manner.

Viewing all articles
Browse latest Browse all 239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>