UZipDotNet by Uzi Granot, Stef Heyenrath

<PackageReference Include="UZipDotNet" Version="0.0.3" />

 DeflateMethod

public abstract class DeflateMethod : IDisposable
public enum CompFunc

protected const int BestCompression = 9

protected const int DefaultCompression = 6

protected const int NoCompression = 0

public uint ReadTotal

public uint WriteTotal

public int CompressionLevel { get; set; }

Gets or sets the compression level.

protected DeflateMethod(int compLevel)

Initializes a new instance of the DeflateMethod class. The constructor is used to allocate buffers.

protected void Compress()

Compress read stream to write stream This is the main function of the DefaultMethod class

public abstract void Dispose()

protected abstract int ReadBytes(byte[] buffer, int pos, int len, out bool endOfFile)

Read bytes from input stream To be implemented by derived class

protected abstract void RewindStreams()

Rewind input and output stream To be implemented by derived class

protected abstract void WriteBytes(byte[] buffer, int pos, int len)

Write bytes to output stream To be implemented by derived class