Title: VBZLib - GZip Compress/Uncompress In Memory using Modified ZLib DLL
Description: This is a class wrapper and a modified version of the ZLib DLL (http://www.zlib.net). ZLib is used for compressing/uncompressing data using the famous Deflate algorithm. 
It will also read/write the zlib and gzip headers from/to the data when compressing/uncompressing. I modified the standard zlib compress/uncompress function calls to allow you to pass a parameter to specify the header type of the data. Either zlib, gzip, auto or deflate with no header. 
You can download "vbzlib1.dll" from the following URL. 
http://www.techknowpro.com/vb/vbzlib/vbzlib1.dll
I needed this because I couldn't find any other sample code to uncompress a string containing gzip data. Specifically when downloading gzip Content-Encoded data from a web server.
With this you can both compress and uncompress string data easily specifying what ever header you like.
I hope this helps others. I did alot of searching and didn't find anything like it for VB.
If you like or use this please vote for me. :)

This file came from Planet-Source-Code.com...the home millions of lines of source code
You can view comments on this code/and or vote on it at: http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=64920&lngWId=1

The author may have retained certain copyrights to this code...please observe their request and the law by reviewing all copyright conditions at the above URL.
