Home › Forums › .NET libraries › Xceed Zip & Real-Time Zip for .NET › convertion of SharpZipLib
I’m converting a project that I found on http://www.codeproject –
however I don’t know how to convert the following line of code into Xceed– any help is apprecieated.
s = New Zip.Compression.Streams.InflaterInputStream(New MemoryStream(b), _ New Zip.Compression.Inflater(True))
Imported from legacy forums. Posted by William (had 2802 views)
This should work:
s = New Xceed.Compression.CompressedStream( New MemoryStream( b ) )
The CompressedStream class serves both decompressing (reading from the inner stream and decompress, or “inflate”) and compressing (compressing or “deflate”, then write to the inner stream).
Imported from legacy forums. Posted by Martin (had 406 views)
Works great- thanks for the speedy reply
Imported from legacy forums. Posted by William (had 3642 views)