ICSharpCode.SharpZipLib.Zip.Compression.Streams.InflaterInputStream.Flush C# (CSharp) Method

Flush() public method

Flushes the baseInputStream
public Flush ( ) : void
return void
        public override void Flush()
        {
            baseInputStream.Flush();
        }

Usage Example

Example #1
0
 public static byte[] DeCompress( byte []b )
 {
     Stream s2 = new InflaterInputStream( new MemoryStream( b ) );
     try
     {
         byte []dest = null;
         int size = s2.Read( writeData, 0, writeData.Length);
         if (size > 0)
         {
             dest = new byte[ size ];
             Buffer.BlockCopy( writeData , 0, dest, 0, size );
         }
         s2.Flush();
         s2.Close();
         return dest;
     }
     catch(Exception e)
     {
         Console.WriteLine( e.Message );
         return null;
     }
 }
All Usage Examples Of ICSharpCode.SharpZipLib.Zip.Compression.Streams.InflaterInputStream::Flush