(Zlib) How to get decompressed filesize without decompressing gzip files

Giganews Newsgroups
Subject: (Zlib) How to get decompressed filesize without decompressing gzip files
Posted by:  vinay…@myrealbox.com (Vinayak Hegde)
Date: 5 Jul 2004

Hi compresseans,

I am writing a program which provides gz like functionlity.
I want to show the progress of file unzip for huge disk image files.
Is there any way using the zlib library to get the uncompressed file size
without actually uncompressing the file ??

Replies