ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream.Dispose C# (CSharp) 메소드

Dispose() 보호된 메소드

Calls Finish and closes the underlying stream when is true.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void
        protected override void Dispose(bool disposing)
        {
            if (!isClosed_) {
                isClosed_ = true;

                try {
                    Finish();
                    if (cryptoTransform_ != null) {
                        GetAuthCodeIfAES();
                        cryptoTransform_.Dispose();
                        cryptoTransform_ = null;
                    }
                } finally {
                    if (isStreamOwner_) {
                        baseOutputStream_.Dispose();
                    }
                }
            }
        }