private int Reset()
{
this.codec.TotalBytesIn = this.codec.TotalBytesOut = 0;
this.codec.Message = null;
this.mode = this.HandleRfc1950HeaderBytes ? InflateManagerMode.Method : InflateManagerMode.Blocks;
this.blocks.Reset();
return ZlibConstants.Zok;
}