Geeks With Blogs
Blog Moved to Blog Moved to
Previously, I posted a quick and dirty sample of using the GZipStream.  I found a few other posts which have gone into this stream in just a little bit more detail.
Over at the .NET Interop blog, Dino gives a quick introduction to the GZipStream and DeflateStream.  What's of more interest is that linked to the post is a library to create zip files using the DeflateStream.  This includes an attachment as located here from PKWare which allows the user to create zip files using the aforementioned stream.
It should be noted that there are some issues with the DeflateStream right now that they are currently looking into where the DeflateStream is actually increasing the size of the file instead of decreasing.  The Base Class Library (BCL) team is on the case.
Meanwhile, over at the BCL team blog, Brian Grunkmeyer has a little demo of using GZip utilities with compression which is located here.
The BCL team also has a blog post that is helpful if you are using a MemoryStream with the GZipStream and finding some unexpected behavior with calling the ToArray() method on your MemoryStream instance.
Posted on Wednesday, July 5, 2006 2:12 PM Microsoft , .NET , C# | Back to top

Comments on this post: Another look at the GZipStream and System.IO.Compression Streams

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Matthew Podwysocki | Powered by: