/// <summary> /// Closes this stream and the underlying stream. /// </summary> public override void Close() { base.Close(); if (CloseOutput && _writer != null) { _writer.Close(); } }