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

◆ OpenInUpdateMode()

Stream System.IO.Compression.ZipArchiveEntry.OpenInUpdateMode ( )
inlineprivate

Definition at line 739 of file ZipArchiveEntry.cs.

740 {
742 {
743 throw new IOException(System.SR.UpdateModeOneStream);
744 }
746 _everOpenedForWrite = true;
749 return new WrappedStream(UncompressedData, this, delegate(ZipArchiveEntry thisRef)
750 {
751 thisRef._currentlyOpenForWrite = false;
752 });
753 }
ZipArchiveEntry(ZipArchive archive, ZipCentralDirectoryFileHeader cd)
void ThrowIfNotOpenable(bool needToUncompress, bool needToLoadIntoMemory)
override long Seek(long offset, SeekOrigin loc)
static string UpdateModeOneStream
Definition SR.cs:128
Definition SR.cs:7

References System.IO.Compression.ZipArchiveEntry._currentlyOpenForWrite, System.IO.Compression.ZipArchiveEntry._everOpenedForWrite, System.L, System.IO.MemoryStream.Seek(), System.IO.Compression.ZipArchiveEntry.ThrowIfNotOpenable(), System.IO.Compression.ZipArchiveEntry.UncompressedData, and System.SR.UpdateModeOneStream.

Referenced by System.IO.Compression.ZipArchiveEntry.Open().