Does anyone know if it's possible to decompress GZIP internally in VB? I have been doing it via another EXE compiled in a different language because I can't find a good method internally. Thanks for the help.
Age - 15 ::: Level - Advanced
If you find my post useful please ::Rate It::
gzip is short for GNU zip. Its similar to zip but not as portable. gzip is used to compress HTTP streams.
Inuyasha1782:
I hab this problem once, when coding a webserver that supports gzip. Due to a lot of work, i gave it up.
You may have a look to http://www.gzip.org/#sources.
Download the Source. In algorithm.doc the file format and the compression methods are described.
So no one has ever made a VB function to correctly decompress a Gzip compressed file? I'm learning ++ right now, closely related to C, but translating something like that would take forever.
Age - 15 ::: Level - Advanced
If you find my post useful please ::Rate It::
I made a few modifications to the zlib DLL to make the compress and uncompress functions easier to use. (You can now specify the mode of the data when calling the function.) And I wrote a VB Class wrapper because I couldn't find anything else out there to compress/uncompress gzip data in memory.