public int EndDeflate()
{
if (dstate == null)
throw new ZlibException("No Deflate State!");
// TODO: dinoch Tue, 03 Nov 2009 15:39 (test this)
//int ret = dstate.End();
dstate = null;
return ZlibConstants.Z_OK; //ret;
}
private void end() { if (z == null) { return; } if (_wantCompress) { _z.EndDeflate(); } else { _z.EndInflate(); } _z = null; }