Exemple #1
0
 public int EndInflate()
 {
     if ( istate == null )
         throw new CompressionProcessException ( "No Inflate State!" );
     int ret = istate.End ();
     istate = null;
     return ret;
 }
Exemple #2
0
 public int InitializeInflate( int windowBits, bool expectRfc1950Header )
 {
     this.WindowBits = windowBits;
     if ( dstate != null ) throw new CompressionProcessException ( "You may not call InitializeInflate() after calling InitializeDeflate()." );
     istate = new InflateManager ( expectRfc1950Header );
     return istate.Initialize ( this, windowBits );
 }