/// <summary> /// Ends an inflation session. /// </summary> /// <remarks> /// Call this after successively calling Inflate(). This will cause all buffers to be flushed. /// After calling this you cannot call Inflate() without a intervening call to one of the /// InitializeInflate() overloads. /// </remarks> /// <returns>Z_OK if everything goes well.</returns> public int EndInflate() { if (istate == null) { throw new ZlibException("No Inflate State!"); } int ret = istate.End(this); istate = null; return(ret); }
public int EndInflate() { if (Istate == null) { throw new ZlibException("No Inflate State!"); } var ret = Istate.End(); Istate = null; return(ret); }