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

◆ CopyThroughWithRecompute()

void Ionic.Zip.ZipEntry.CopyThroughWithRecompute ( Stream outstream)
inlineprivate

Definition at line 2202 of file ZipEntry.cs.

2203 {
2204 long num2;
2205 ZipContainer container;
2206 ZipFile zf;
2207 for (;;)
2208 {
2209 int bufferSize = this._container.BufferSize;
2213 if (lengthOfHeader == 0)
2214 {
2215 this.SetFdpLoh();
2217 }
2218 long num = 0L;
2219 this.WriteHeader(outstream, (int)num);
2220 long future_ROLH = this._future_ROLH;
2223 bool flag = fileNameInArchive.EndsWith("/");
2224 int lengthOfCryptoHeaderBytes = ZipEntry.GetLengthOfCryptoHeaderBytes(this._Encryption_FromZipFile);
2227 long compressedSize = this._CompressedSize;
2228 num2 = 0L;
2229 container = this._container;
2230 zf = container._zf;
2231 if (zf != null)
2232 {
2233 break;
2234 }
2235 if (this._ioOperationCanceled)
2236 {
2237 goto Block_3;
2238 }
2239 }
2240 long compressedSize2 = this._CompressedSize;
2241 bool flag2 = zf.OnSaveBlock(this, num2, compressedSize2);
2242 this._ioOperationCanceled = container != null;
2243 while (container == null)
2244 {
2245 }
2246 return;
2247 Block_3:
2248 short bitField = this._BitField;
2249 bool inputUsesZip = this._InputUsesZip64;
2250 if (this._InputUsesZip64)
2251 {
2252 if (this._container.UseZip64WhenSaving == Zip64Option.Default)
2253 {
2254 long compressedSize3 = this._CompressedSize;
2259 this._TotalEntrySize = (long)lengthOfTrailer;
2260 return;
2261 }
2262 if (this._InputUsesZip64)
2263 {
2264 return;
2265 }
2266 }
2269 }
class f__AnonymousType0<< Count > j__TPar
static readonly long
Zip64Option UseZip64WhenSaving
long _RelativeOffsetOfLocalHeader
Definition ZipEntry.cs:2435
EncryptionAlgorithm _Encryption_FromZipFile
Definition ZipEntry.cs:2465
ZipContainer _container
Definition ZipEntry.cs:2426
void WriteHeader(Stream s, int cycle)
Definition ZipEntry.cs:1919
string _FileNameInArchive
Definition ZipEntry.cs:2357
long _CompressedFileDataSize
Definition ZipEntry.cs:2387

References Ionic.Zip.ZipEntry._BitField, Ionic.Zip.ZipEntry._CompressedFileDataSize, Ionic.Zip.ZipEntry._CompressedSize, Ionic.Zip.ZipEntry._container, Ionic.Zip.ZipEntry._Encryption_FromZipFile, Ionic.Zip.ZipEntry._FileNameInArchive, Ionic.Zip.ZipEntry._future_ROLH, Ionic.Zip.ZipEntry._InputUsesZip64, Ionic.Zip.ZipEntry._ioOperationCanceled, Ionic.Zip.ZipEntry._LengthOfHeader, Ionic.Zip.ZipEntry._LengthOfTrailer, Ionic.Zip.ZipEntry._RelativeOffsetOfLocalHeader, Ionic.Zip.ZipEntry._UncompressedSize, Ionic.Zip.ZipContainer._zf, Ionic.Zip.ZipEntry.ArchiveStream, Ionic.Zip.ZipContainer.BufferSize, Ionic.Zip.ZipEntry.GetLengthOfCryptoHeaderBytes(), j__TPar, System.L, long, Ionic.Zip.ZipFile.OnSaveBlock(), Ionic.Zip.ZipEntry.SetFdpLoh(), Ionic.Zip.ZipContainer.UseZip64WhenSaving, and Ionic.Zip.ZipEntry.WriteHeader().