public int EndInflate() { if ( istate == null ) throw new CompressionProcessException ( "No Inflate State!" ); int ret = istate.End (); istate = null; return ret; }
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 ); }