File: sys\System\IO\compression\IDeflater.cs
Project: ndp\fx\src\System.csproj (System)

using System.Diagnostics.Contracts;
 
namespace System.IO.Compression {
 
    internal interface IDeflater : IDisposable {
        [Pure] bool NeedsInput();
        void SetInput(byte[] inputBuffer, int startIndex, int count);
        int GetDeflateOutput(byte[] outputBuffer);
        bool Finish(byte[] outputBuffer, out int bytesRead);
    }
}