terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Ionic.Zip.ZipEntry Class Reference
+ Collaboration diagram for Ionic.Zip.ZipEntry:

Classes

class  CopyHelper
 

Public Member Functions

 ZipEntry ()
 
void SetEntryTimes (DateTime created, DateTime accessed, DateTime modified)
 
override string ToString ()
 
void Extract ()
 
void Extract (ExtractExistingFileAction extractExistingFile)
 
void Extract (Stream stream)
 
void Extract (string baseDirectory)
 
void Extract (string baseDirectory, ExtractExistingFileAction extractExistingFile)
 
void ExtractWithPassword (string password)
 
void ExtractWithPassword (string baseDirectory, string password)
 
void ExtractWithPassword (ExtractExistingFileAction extractExistingFile, string password)
 
void ExtractWithPassword (string baseDirectory, ExtractExistingFileAction extractExistingFile, string password)
 
void ExtractWithPassword (Stream stream, string password)
 
CrcCalculatorStream OpenReader ()
 
CrcCalculatorStream OpenReader (string password)
 

Package Functions

void ResetDirEntry ()
 
void MarkAsDirectory ()
 
CrcCalculatorStream InternalOpenReader (string password)
 
void VerifyCrcAfterExtract (int actualCrc32)
 
Stream GetExtractDecompressor (Stream input2)
 
Stream GetExtractDecryptor (Stream input)
 
void _SetTimes (string fileOrDirectory, bool isFile)
 
void ValidateEncryption ()
 
int ProcessExtraField (Stream s, short extraFieldLength)
 
void WriteCentralDirectoryEntry (Stream s)
 
void WriteHeader (Stream s, int cycle)
 
void CopyMetaData (ZipEntry source)
 
void FinishOutputStream (Stream s, CountingStream entryCounter, Stream encryptor, Stream compressor, CrcCalculatorStream output)
 
void PostProcessOutput (Stream s)
 
void PrepOutputStream (Stream s, long streamLength, out CountingStream outputCounter, out Stream encryptor, out Stream compressor, out CrcCalculatorStream output)
 
void Write (Stream s)
 
void StoreRelativeOffset ()
 
void NotifySaveComplete ()
 
void WriteSecurityMetadata (Stream outstream)
 

Static Package Functions

static ZipEntry ReadDirEntry (ZipFile zf, Dictionary< string, object > previouslySeen)
 
static bool IsNotValidZipDirEntrySig (int signature)
 
static string NameInArchive (string filename, string directoryPathInArchive)
 
static ZipEntry CreateFromNothing (string nameInArchive)
 
static ZipEntry CreateFromFile (string filename, string nameInArchive)
 
static ZipEntry CreateForStream (string entryName, Stream s)
 
static ZipEntry CreateForWriter (string entryName, WriteDelegate d)
 
static ZipEntry CreateForJitStreamProvider (string nameInArchive, OpenDelegate opener, CloseDelegate closer)
 
static ZipEntry CreateForZipOutputStream (string nameInArchive)
 
static int GetLengthOfCryptoHeaderBytes (EncryptionAlgorithm a)
 
static int ReadWeakEncryptionHeader (Stream s, byte[] buffer)
 
static ZipEntry ReadEntry (ZipContainer zc, bool first)
 
static void HandlePK00Prefix (Stream s)
 
static int FindExtraFieldSegment (byte[] extra, int offx, ushort targetHeaderId)
 

Package Attributes

DateTime _LastModified
 
string _LocalFileName
 
short _VersionNeeded
 
short _BitField
 
short _CompressionMethod
 
string _Comment
 
long _CompressedSize
 
long _CompressedFileDataSize
 
long _UncompressedSize
 
int _TimeBlob
 
int _Crc32
 
byte[] _Extra
 
ZipContainer _container
 
long _RelativeOffsetOfLocalHeader
 
bool _InputUsesZip64
 
string _Password
 
ZipEntrySource _Source
 
EncryptionAlgorithm _Encryption
 
EncryptionAlgorithm _Encryption_FromZipFile
 
byte[] _WeakEncryptionHeader
 
Stream _archiveStream
 

Properties

bool AttributesIndicateDirectory [get, set]
 
string Info [get, set]
 
DateTime LastModified [get, set]
 
int BufferSize [get, set]
 
DateTime ModifiedTime [get, set]
 
DateTime AccessedTime [get, set]
 
DateTime CreationTime [get, set]
 
bool EmitTimesInWindowsFormatWhenSaving [get, set]
 
bool EmitTimesInUnixFormatWhenSaving [get, set]
 
ZipEntryTimestamp Timestamp [get, set]
 
FileAttributes Attributes [get, set]
 
string LocalFileName [get, set]
 
string FileName [get, set]
 
Stream InputStream [get, set]
 
bool InputStreamWasJitProvided [get, set]
 
ZipEntrySource Source [get, set]
 
short VersionNeeded [get, set]
 
string Comment [get, set]
 
bool? RequiresZip64 [get, set]
 
bool? OutputUsedZip64 [get, set]
 
short BitField [get, set]
 
CompressionMethod CompressionMethod [get, set]
 
CompressionLevel CompressionLevel [get, set]
 
long CompressedSize [get, set]
 
long UncompressedSize [get, set]
 
double CompressionRatio [get, set]
 
int Crc [get, set]
 
bool IsDirectory [get, set]
 
bool UsesEncryption [get, set]
 
EncryptionAlgorithm Encryption [get, set]
 
string Password [set, private get]
 
bool IsChanged [get, set]
 
ExtractExistingFileAction ExtractExistingFile [get, set]
 
ZipErrorAction ZipErrorAction [get, set]
 
bool IncludedInMostRecentSave [get, set]
 
SetCompressionCallback SetCompression [get, set]
 
bool UseUnicodeAsNecessary [get, set]
 
Encoding ProvisionalAlternateEncoding [get, set]
 
Encoding AlternateEncoding [get, set]
 
ZipOption AlternateEncodingUsage [get, set]
 
bool IsText [get, set]
 
Stream ArchiveStream [get, set]
 
long FileDataPosition [get, set]
 
int LengthOfHeader [get, set]
 
string UnsupportedAlgorithm [get, set]
 
string UnsupportedCompressionMethod [get, set]
 

Private Member Functions

void SetFdpLoh ()
 
void OnExtractProgress (long bytesWritten, long totalBytesToWrite)
 
void OnBeforeExtract (string path)
 
void OnAfterExtract (string path)
 
void OnExtractExisting (string path)
 
void WriteStatus (string format, params object[] args)
 
void InternalExtract (string baseDir, Stream outstream, string password)
 
int CheckExtractExistingFile (string baseDir, string targetFileName)
 
void _CheckRead (int nbytes)
 
int ExtractOne (Stream output)
 
void ValidateCompression ()
 
void SetupCryptoForExtract (string password)
 
bool ValidateOutput (string basedir, Stream outstream, out string outFileName)
 
void ReadExtraField ()
 
int ProcessExtraFieldPkwareStrongEncryption (byte[] Buffer, int j)
 
int ProcessExtraFieldZip64 (byte[] buffer, int j, short dataSize, long posn)
 
int ProcessExtraFieldInfoZipTimes (byte[] buffer, int j, short dataSize, long posn)
 
int ProcessExtraFieldUnixTimes (byte[] buffer, int j, short dataSize, long posn)
 
int ProcessExtraFieldWindowsTimes (byte[] buffer, int j, short dataSize, long posn)
 
byte[] ConstructExtraField (bool forCentralDirectory)
 
string NormalizeFileName ()
 
byte[] GetEncodedFileNameBytes ()
 
bool WantReadAgain ()
 
void MaybeUnsetCompressionMethodForWriting (int cycle)
 
int FigureCrc32 ()
 
void PrepSourceStream ()
 
void OnWriteBlock (long bytesXferred, long totalBytesToXfer)
 
void _WriteEntryData (Stream s)
 
long SetInputAndFigureFileLength (ref Stream input)
 
void SetZip64Flags ()
 
Stream MaybeApplyCompression (Stream s, long streamLength)
 
Stream MaybeApplyEncryption (Stream s)
 
void OnZipErrorWhileSaving (Exception e)
 
void CopyThroughOneEntry (Stream outStream)
 
void CopyThroughWithRecompute (Stream outstream)
 
void CopyThroughWithNoChange (Stream outstream)
 
void TraceWriteLine (string format, params object[] varParams)
 
delegateFunc< T > ()
 

Static Private Member Functions

static ZipEntry Create (string nameInArchive, ZipEntrySource source, object arg1, object arg2)
 
static void ReallyDelete (string fileName)
 
static bool ReadHeader (ZipEntry ze, Encoding defaultEncoding)
 
static bool IsNotValidSig (int signature)
 
static void HandleUnexpectedDataDescriptor (ZipEntry entry)
 
static ZipEntry ()
 

Private Attributes

short _VersionMadeBy
 
short _InternalFileAttrs
 
int _ExternalFileAttrs
 
short _filenameLength
 
short _extraFieldLength
 
short _commentLength
 
ZipCrypto _zipCrypto_forExtract
 
ZipCrypto _zipCrypto_forWrite
 
DateTime _Mtime
 
DateTime _Atime
 
DateTime _Ctime
 
bool _ntfsTimesAreSet
 
bool _emitNtfsTimes
 
bool _emitUnixTimes
 
bool _TrimVolumeFromFullyQualifiedPaths
 
string _FileNameInArchive
 
short _CompressionMethod_FromZipFile
 
CompressionLevel _CompressionLevel
 
bool _IsDirectory
 
byte[] _CommentBytes
 
bool _crcCalculated
 
bool _metadataChanged
 
bool _restreamRequiredOnSave
 
bool _sourceIsEncrypted
 
bool _skippedDuringSave
 
uint _diskNumber
 
Encoding _actualEncoding
 
long __FileDataPosition
 
byte[] _EntryHeader
 
long _future_ROLH
 
long _TotalEntrySize
 
int _LengthOfHeader
 
int _LengthOfTrailer
 
uint _UnsupportedAlgorithmId
 
Stream _sourceStream
 
long_sourceStreamOriginalPosition
 
bool _sourceWasJitProvided
 
bool _ioOperationCanceled
 
bool _presumeZip64
 
bool? _entryRequiresZip64
 
bool? _OutputUsesZip64
 
bool _IsText
 
ZipEntryTimestamp _timestamp
 
WriteDelegate _WriteDelegate
 
OpenDelegate _OpenDelegate
 
CloseDelegate _CloseDelegate
 
Stream _inputDecryptorStream
 
int _readExtraDepth
 
object _outputLock
 
ExtractExistingFileAction< ExtractExistingFilek__BackingField
 
ZipErrorAction< ZipErrorActionk__BackingField
 
SetCompressionCallback< SetCompressionk__BackingField
 
Encoding< ProvisionalAlternateEncodingk__BackingField
 
Encoding< AlternateEncodingk__BackingField
 
ZipOption< AlternateEncodingUsagek__BackingField
 

Static Private Attributes

static Encoding ibm437
 
static DateTime _unixEpoch
 
static DateTime _win32Epoch
 
static DateTime _zeroHour
 

Detailed Description

Definition at line 20 of file ZipEntry.cs.


The documentation for this class was generated from the following file: