ICSharpCode.SharpZipLib.Zip.Compression.Streams.InflaterInputStream.Fill C# (CSharp) Method

Fill() protected method

Fills the buffer with more data to decompress.
/// Stream ends early ///
protected Fill ( ) : void
return void
        protected void Fill()
        {
            // Protect against redundant calls
            if (inputBuffer.Available <= 0) {
                inputBuffer.Fill();
                if (inputBuffer.Available <= 0) {
                    throw new SharpZipBaseException("Unexpected EOF");
                }
            }
            inputBuffer.SetInflaterInput(inf);
        }