13 lines
346 B
C#
13 lines
346 B
C#
|
|
||
|
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);
|
||
|
}
|
||
|
}
|