예제 #1
0
 protected void Fill()
 {
     if (inputBuffer.Available <= 0)
     {
         inputBuffer.Fill();
         if (inputBuffer.Available <= 0)
         {
             throw new SharpZipBaseException("Unexpected EOF");
         }
     }
     inputBuffer.SetInflaterInput(inf);
 }
예제 #2
0
 /// <summary>
 /// Fills the buffer with more data to decompress.
 /// </summary>
 /// <exception cref="SharpZipBaseException">
 /// Stream ends early
 /// </exception>
 protected void Fill()
 {
     inputBuffer.Fill();
     inputBuffer.SetInflaterInput(inf);
 }