Unzip a memorystream (Contains the zip file) and get the files

Posted by user1621791 on Stack Overflow See other posts from Stack Overflow or by user1621791
Published on 2012-10-03T20:00:52Z Indexed on 2012/10/03 21:38 UTC
Read the original article Hit count: 139

Filed under:

I have a memory stream that contains a zip file in byte[] format .

Is there any way I can unzip this memory stream, without any need of writing the file to disk ?

In general I am using ICSharpCode.SharpZipLib.Zip.FastZip to unzip a file , But any way to unzip a memory stream ? and store the files in another memorystream or in byte[] format according to the files/folders present in the zip ?

Any way I can use the Memorymapped files feature in this scenario ?

© Stack Overflow or respective owner

Related posts about c#