terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ TruncateBackward()

long Ionic.Zip.ZipSegmentedStream.TruncateBackward ( uint diskNumber,
long offset )
inline

Definition at line 315 of file ZipSegmentedStream.cs.

316 {
319 if (this._innerStream != null)
320 {
321 bool flag = File.Exists(this._currentTempName);
323 }
325 string text = this._NameForSegment((uint)43151360);
326 bool flag2 = File.Exists(text);
329 if (currentDiskNumber2 == 0U)
330 {
331 }
332 string text2 = SharedUtilities.InternalGetTempFileName();
333 string currentName = this._currentName;
334 this._currentTempName = text2;
335 string text3;
336 string currentTempName;
337 if (currentName == null)
338 {
340 text3 = this._NameForSegment(currentDiskNumber3);
343 }
345 throw new OutOfMemoryException();
346 }
class f__AnonymousType0<< Count > j__TPar
ZipSegmentedStream.RwMode rwMode
string _NameForSegment(uint diskNumber)
static bool Exists(string path)
Definition File.cs:86
static void Move(string sourceFileName, string destFileName)
Definition File.cs:222
static void Delete(string path)
Definition File.cs:77

References Ionic.Zip.ZipSegmentedStream._currentDiskNumber, Ionic.Zip.ZipSegmentedStream._currentName, Ionic.Zip.ZipSegmentedStream._currentTempName, Ionic.Zip.ZipSegmentedStream._innerStream, Ionic.Zip.ZipSegmentedStream._NameForSegment(), System.IO.File.Delete(), System.IO.File.Exists(), Ionic.Zip.SharedUtilities.InternalGetTempFileName(), j__TPar, System.IO.File.Move(), Ionic.Zip.ZipSegmentedStream.rwMode, System.text, and System.U.