Re: System.IO.Compression
- From: "Jon Skeet [C# MVP]" <skeet@xxxxxxxxx>
- Date: 27 Jan 2006 03:20:06 -0800
Mark Rae wrote:
> > You could decompress by writing each decompressed chunk you read into a
> > MemoryStream instead, then get the array after that. You might waste a
> > bit of time/memory copying things around, but it would only need to
> > read the data once.
>
> Yes, I see what you're saying.
>
> I'm also reading quite a few postings around the net that the new
> System.IO.Compression functionality "isn't very good", at least not for file
> compression / decompression - is this the general consensus around here?
Well, it's somewhat limited in terms of it being solely stream
compression - zip files themselves can't be extracted, etc. I don't
know much more about it than that though.
> The 3rd-party component I've been using up to now is available for .NET2, so
> I might just continue to use it anyway...
SharpZipLib by any chance? I've used that too, and it works well -
although there's a bug which I reported a while ago which worried me
somewhat. (It was unable to decompress its own compressed data.) It may
have been fixed by now, of course...
Jon
.
- Follow-Ups:
- Re: System.IO.Compression
- From: Mark Rae
- Re: System.IO.Compression
- References:
- System.IO.Compression
- From: Mark Rae
- Re: System.IO.Compression
- From: Jon Skeet [C# MVP]
- Re: System.IO.Compression
- From: Mark Rae
- System.IO.Compression
- Prev by Date: Re: Declaring a constant
- Next by Date: Re: interesting task for .NET learners: why ArrayList.Sort hangs? [.NET 1.1]
- Previous by thread: Re: System.IO.Compression
- Next by thread: Re: System.IO.Compression
- Index(es):
Relevant Pages
|