VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



VBZLib GZip Compress/Uncompress In Memory using Modified ZLib DLL

by James Johnston (3 Submissions)
Category: Libraries
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (15 Votes)

This is a class wrapper and a modified version of the ZLib DLL (https://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.
https://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. :)

Rate VBZLib GZip Compress/Uncompress In Memory using Modified ZLib DLL

Download VBZLib GZip Compress/Uncompress In Memory using Modified ZLib DLL

Download VBZLib GZip Compress/Uncompress In Memory using Modified ZLib DLL (5 KB)

VBZLib GZip Compress/Uncompress In Memory using Modified ZLib DLL Comments

No comments have been posted about VBZLib GZip Compress/Uncompress In Memory using Modified ZLib DLL. Why not be the first to post a comment about VBZLib GZip Compress/Uncompress In Memory using Modified ZLib DLL.

Post your comment

Subject:
Message:
0/1000 characters