This project is read-only.

can i find original file size in compressed file?

Oct 4, 2011 at 9:32 AM


Can I find the original file size in a compressed file? file was compressed using ZLibStream.

Oct 5, 2011 at 5:21 PM

No.  The ZLIB format does not include a way to provide any metadata for the thing that is compressed. You cannot know the filename (if any), the original uncompressed size of the thing that was compressed, the timestamp, or any of that kind of thing.

GZIP provides that.  ZIP provides that.  But ZLIB does not.


Oct 6, 2011 at 8:05 AM