J# Zip Question Again

B

BuddyWork

Do you know or have any examples on how to get
ZipOutputStream/ZipInputStream classes so it can
compress/uncompress without writing to a file, I
basically want to pass in a string so it gets compressed
by either using GZip or Zip, then I want to pass in the
compression string and uncompress it either by using GZip
or Zip?

Please note that I've looked at Inflater and Deflater but
it does not seem to use the Zip and GZip compression.

Thanks
 
B

BuddyWork

Hello Nicholas,

Thanks for the reply, I have looked at SharpZipLib but we
want to use the J# Zip library due to the public license
on SharpZipLib.

Thanks,
-----Original Message-----
BuddyWork,

Have you looked at the Sharp Zip Library for .NET? It should do what
you need. You can find it at (watch for line wrap):

http://www.icsharpcode.net/OpenSource/SharpZipLib/Default ..aspx

Also, in .NET 2.0, there is a namespace for compression which has
classes that you might want to take a look at.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Do you know or have any examples on how to get
ZipOutputStream/ZipInputStream classes so it can
compress/uncompress without writing to a file, I
basically want to pass in a string so it gets compressed
by either using GZip or Zip, then I want to pass in the
compression string and uncompress it either by using GZip
or Zip?

Please note that I've looked at Inflater and Deflater but
it does not seem to use the Zip and GZip compression.

Thanks


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top