<PackageReference Include="BouncyCastle.Cryptography" Version="2.6.0" />

Org.BouncyCastle.Utilities.Zlib.ZOutputStream

namespace Org.BouncyCastle.Utilities.Zlib { public class ZOutputStream : BaseOutputStream { protected ZStream z; protected int flushLevel; protected byte[] buf; protected byte[] buf1; protected bool compress; protected Stream output; protected bool closed; public virtual int FlushMode { get; set; } public virtual long TotalIn { get; } public virtual long TotalOut { get; } public ZOutputStream(Stream output); public ZOutputStream(Stream output, bool nowrap); public ZOutputStream(Stream output, ZStream z); public ZOutputStream(Stream output, int level); public ZOutputStream(Stream output, int level, bool nowrap); protected void Detach(bool disposing); public virtual void End(); public virtual void Finish(); } }