Re: [bds 2006] Decompress .gz files with zlib unit?
- From: Andreas Koch <nospam@xxxxxxxxxxxxxxx>
- Date: Tue, 24 Jan 2006 18:40:42 +0100
Richard A. DeVenezia wrote:
Haven't used Delphi in ages, starting back up with bds 2006.
I have a bunch of .gz files that need to be decompressed (on the fly) before I can use the data inside them.
The files are not corrupt -- WinZip was unable decompress them.
Have I missed something? Do I need a different decompression library ?
As far as i know, ZLib uses the same method as GZip to compress the data, but has different headers. Didn't use ZLib myself to unzip Gzips, but i'd expect you have to find out the header formats, load the gzip to a stream, and replace the header.
.
- References:
- [bds 2006] Decompress .gz files with zlib unit?
- From: Richard A. DeVenezia
- [bds 2006] Decompress .gz files with zlib unit?
- Prev by Date: [bds 2006] Decompress .gz files with zlib unit?
- Next by Date: Re: [bds 2006] Decompress .gz files with zlib unit?
- Previous by thread: [bds 2006] Decompress .gz files with zlib unit?
- Next by thread: Re: [bds 2006] Decompress .gz files with zlib unit?
- Index(es):
Relevant Pages
|