13 lines
346 B
C#
Raw Normal View History

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);
}
}