Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Dispose() [2/2]

override void System.IO.Compression.ZipArchiveEntry.DirectToArchiveWriterStream.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from System.IO.Stream.

Definition at line 168 of file ZipArchiveEntry.cs.

169 {
170 if (disposing && !_isDisposed)
171 {
173 if (!_everWritten)
174 {
176 }
178 {
180 }
181 else
182 {
184 }
185 _canWrite = false;
186 _isDisposed = true;
187 }
188 base.Dispose(disposing);
189 }
void WriteCrcAndSizesInLocalHeader(bool zip64HeaderUsed)
bool WriteLocalFileHeader(bool isEmptyFile)

References System.IO.Compression.ZipArchiveEntry._archive, System.IO.Compression.ZipArchiveEntry.DirectToArchiveWriterStream._canWrite, System.IO.Compression.ZipArchiveEntry.DirectToArchiveWriterStream._crcSizeStream, System.IO.Compression.ZipArchiveEntry.DirectToArchiveWriterStream._entry, System.IO.Compression.ZipArchiveEntry.DirectToArchiveWriterStream._everWritten, System.IO.Compression.ZipArchiveEntry.DirectToArchiveWriterStream._isDisposed, System.IO.Compression.ZipArchiveEntry.DirectToArchiveWriterStream._usedZip64inLH, System.IO.Compression.ZipArchive.ArchiveStream, System.IO.Stream.CanSeek, System.IO.Compression.CheckSumAndSizeWriteStream.Dispose(), System.IO.Compression.ZipArchiveEntry.WriteCrcAndSizesInLocalHeader(), System.IO.Compression.ZipArchiveEntry.WriteDataDescriptor(), and System.IO.Compression.ZipArchiveEntry.WriteLocalFileHeader().