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.ZipFile Class Reference
+ Inheritance diagram for Ionic.Zip.ZipFile:
+ Collaboration diagram for Ionic.Zip.ZipFile:

Public Member Functions

ZipEntry AddItem (string fileOrDirectoryName)
 
ZipEntry AddItem (string fileOrDirectoryName, string directoryPathInArchive)
 
ZipEntry AddFile (string fileName)
 
ZipEntry AddFile (string fileName, string directoryPathInArchive)
 
void RemoveEntries (ICollection< ZipEntry > entriesToRemove)
 
void RemoveEntries (ICollection< string > entriesToRemove)
 
void AddFiles (IEnumerable< string > fileNames)
 
void UpdateFiles (IEnumerable< string > fileNames)
 
void AddFiles (IEnumerable< string > fileNames, string directoryPathInArchive)
 
void AddFiles (IEnumerable< string > fileNames, bool preserveDirHierarchy, string directoryPathInArchive)
 
void UpdateFiles (IEnumerable< string > fileNames, string directoryPathInArchive)
 
ZipEntry UpdateFile (string fileName)
 
ZipEntry UpdateFile (string fileName, string directoryPathInArchive)
 
ZipEntry UpdateDirectory (string directoryName)
 
ZipEntry UpdateDirectory (string directoryName, string directoryPathInArchive)
 
void UpdateItem (string itemName)
 
void UpdateItem (string itemName, string directoryPathInArchive)
 
ZipEntry AddEntry (string entryName, string content)
 
ZipEntry AddEntry (string entryName, string content, Encoding encoding)
 
ZipEntry AddEntry (string entryName, Stream stream)
 
ZipEntry AddEntry (string entryName, WriteDelegate writer)
 
ZipEntry AddEntry (string entryName, OpenDelegate opener, CloseDelegate closer)
 
ZipEntry UpdateEntry (string entryName, string content)
 
ZipEntry UpdateEntry (string entryName, string content, Encoding encoding)
 
ZipEntry UpdateEntry (string entryName, WriteDelegate writer)
 
ZipEntry UpdateEntry (string entryName, OpenDelegate opener, CloseDelegate closer)
 
ZipEntry UpdateEntry (string entryName, Stream stream)
 
ZipEntry AddEntry (string entryName, byte[] byteContent)
 
ZipEntry UpdateEntry (string entryName, byte[] byteContent)
 
ZipEntry AddDirectory (string directoryName)
 
ZipEntry AddDirectory (string directoryName, string directoryPathInArchive)
 
ZipEntry AddDirectoryByName (string directoryNameInArchive)
 
bool ContainsEntry (string name)
 
override string ToString ()
 
 ZipFile (string fileName)
 
 ZipFile (string fileName, Encoding encoding)
 
 ZipFile ()
 
 ZipFile (Encoding encoding)
 
 ZipFile (string fileName, TextWriter statusMessageWriter)
 
 ZipFile (string fileName, TextWriter statusMessageWriter, Encoding encoding)
 
void Initialize (string fileName)
 
void RemoveEntry (ZipEntry entry)
 
void RemoveEntry (string fileName)
 
void Dispose ()
 
void ExtractAll (string path)
 
void ExtractAll (string path, ExtractExistingFileAction extractExistingFile)
 
void Save ()
 
void Save (string fileName)
 
void Save (Stream outputStream)
 
IEnumerator< ZipEntryGetEnumerator ()
 
IEnumerator GetNewEnum ()
 

Static Public Member Functions

static bool CheckZip (string zipFileName)
 
static bool CheckZip (string zipFileName, bool fixIfNecessary, TextWriter writer)
 
static void FixZipDirectory (string zipFileName)
 
static bool CheckZipPassword (string zipFileName, string password)
 
static ZipFile Read (string fileName)
 
static ZipFile Read (string fileName, ReadOptions options)
 
static ZipFile Read (Stream zipStream)
 
static ZipFile Read (Stream zipStream, ReadOptions options)
 
static bool IsZipFile (string fileName)
 
static bool IsZipFile (string fileName, bool testExtract)
 
static bool IsZipFile (Stream stream, bool testExtract)
 

Static Public Attributes

static readonly int BufferSizeDefault
 

Protected Member Functions

virtual void Dispose (bool disposeManagedResources)
 

Package Functions

void InternalAddEntry (string name, ZipEntry entry)
 
void NotifyEntryChanged ()
 
Stream StreamForDiskNumber (uint diskNumber)
 
void Reset (bool whileSaving)
 
bool OnSaveBlock (ZipEntry entry, long bytesXferred, long totalBytesToXfer)
 
void OnReadBytes (ZipEntry entry)
 
void OnReadEntry (bool before, ZipEntry entry)
 
bool OnExtractBlock (ZipEntry entry, long bytesWritten, long totalBytesToWrite)
 
bool OnSingleEntryExtract (ZipEntry entry, string path, bool before)
 
bool OnExtractExisting (ZipEntry entry, string path)
 
void AfterAddEntry (ZipEntry entry)
 
bool OnZipErrorSaving (ZipEntry entry, Exception exc)
 

Package Attributes

string _Password
 
bool _inExtractAll
 
Zip64Option _zip64
 

Properties

string Info [get, set]
 
bool FullScan [get, set]
 
bool SortEntriesBeforeSaving [get, set]
 
bool AddDirectoryWillTraverseReparsePoints [get, set]
 
int BufferSize [get, set]
 
int CodecBufferSize [get, set]
 
bool FlattenFoldersOnExtract [get, set]
 
CompressionStrategy Strategy [get, set]
 
string Name [get, set]
 
CompressionLevel CompressionLevel [get, set]
 
CompressionMethod CompressionMethod [get, set]
 
string Comment [get, set]
 
bool EmitTimesInWindowsFormatWhenSaving [get, set]
 
bool EmitTimesInUnixFormatWhenSaving [get, set]
 
bool Verbose [get, set]
 
bool CaseSensitiveRetrieval [get, set]
 
bool UseUnicodeAsNecessary [get, set]
 
Zip64Option UseZip64WhenSaving [get, set]
 
bool? RequiresZip64 [get, set]
 
bool? OutputUsedZip64 [get, set]
 
bool? InputUsesZip64 [get, set]
 
Encoding ProvisionalAlternateEncoding [get, set]
 
Encoding AlternateEncoding [get, set]
 
ZipOption AlternateEncodingUsage [get, set]
 
static Encoding DefaultEncoding [get, set]
 
TextWriter StatusMessageTextWriter [get, set]
 
string TempFileFolder [get, set]
 
string Password [set, private get]
 
ExtractExistingFileAction ExtractExistingFile [get, set]
 
ZipErrorAction ZipErrorAction [get, set]
 
EncryptionAlgorithm Encryption [get, set]
 
SetCompressionCallback SetCompression [get, set]
 
int MaxOutputSegmentSize [get, set]
 
int NumberOfSegmentsForMostRecentSave [get, set]
 
static Version LibraryVersion [get, set]
 
List< ZipEntryZipEntriesAsList [get, set]
 
ZipEntry this[int ix] [get, set]
 
ZipEntry this[string fileName] [get, set]
 
ICollection< string > EntryFileNames [get, set]
 
ICollection< ZipEntryEntries [get, set]
 
ICollection< ZipEntryEntriesSorted [get, set]
 
int Count [get, set]
 
Stream ReadStream [get, set]
 
Stream WriteStream [get, set]
 
string ArchiveNameForEvent [get, set]
 
EventHandler< SaveProgressEventArgsSaveProgress [set]
 
EventHandler< ReadProgressEventArgsReadProgress [set]
 
long LengthOfReadStream [get, set]
 
EventHandler< ExtractProgressEventArgsExtractProgress [set]
 
EventHandler< AddProgressEventArgsAddProgress [set]
 
EventHandler< ZipErrorEventArgsZipError [set]
 
class< GetEnumeratorIDisposable [set]
 

Private Member Functions

ZipEntry _InternalAddEntry (ZipEntry ze)
 
void RemoveEntryForUpdate (string entryName)
 
ZipEntry AddOrUpdateDirectoryImpl (string directoryName, string rootDirectoryPathInArchive, AddOrUpdateAction action)
 
ZipEntry AddOrUpdateDirectoryImpl (string directoryName, string rootDirectoryPathInArchive, AddOrUpdateAction action, bool recurse, int level)
 
void _initEntriesDictionary ()
 
void _InitInstance (string zipFileName, TextWriter statusMessageWriter)
 
void OnSaveEntry (int current, ZipEntry entry, bool before)
 
void OnSaveEvent (ZipProgressEventType eventFlavor)
 
void OnSaveStarted ()
 
void OnSaveCompleted ()
 
void OnReadStarted ()
 
void OnReadCompleted ()
 
void OnExtractEntry (int current, bool before, ZipEntry currentEntry, string path)
 
void OnExtractAllCompleted (string path)
 
void OnExtractAllStarted (string path)
 
void OnAddStarted ()
 
void OnAddCompleted ()
 
void _InternalExtractAll (string path, bool overrideExtractExistingProperty)
 
void DeleteFileWithRetry (string filename)
 
void RemoveTempFile ()
 
void CleanupAfterSaveOperation ()
 
IEnumerator System.Collections.IEnumerable. GetEnumerator ()
 

Static Private Member Functions

static ZipFile Read (string fileName, TextWriter statusMessageWriter, Encoding encoding, EventHandler< ReadProgressEventArgs > readProgress)
 
static ZipFile Read (Stream zipStream, TextWriter statusMessageWriter, Encoding encoding, EventHandler< ReadProgressEventArgs > readProgress)
 
static void ReadIntoInstance (ZipFile zf)
 
static void Zip64SeekToCentralDirectory (ZipFile zf)
 
static uint ReadFirstFourBytes (Stream s)
 
static void ReadCentralDirectory (ZipFile zf)
 
static void ReadIntoInstance_Orig (ZipFile zf)
 
static void ReadCentralDirectoryFooter (ZipFile zf)
 
static void ReadZipFileComment (ZipFile zf)
 
static void NotifyEntriesSaveComplete (ICollection< ZipEntry > c)
 
static ZipFile ()
 

Private Attributes

TextWriter _StatusMessageTextWriter
 
bool _CaseSensitiveRetrieval
 
Stream _readstream
 
Stream _writestream
 
ushort _versionMadeBy
 
ushort _versionNeededToExtract
 
uint _diskNumberWithCd
 
int _maxOutputSegmentSize
 
uint _numberOfSegmentsForMostRecentSave
 
ZipErrorAction _zipErrorAction
 
bool _disposed
 
Dictionary< string, ZipEntry_entries
 
List< ZipEntry_zipEntriesAsList
 
string _name
 
string _readName
 
string _Comment
 
bool _emitNtfsTimes
 
bool _emitUnixTimes
 
CompressionStrategy _Strategy
 
CompressionMethod _compressionMethod
 
bool _fileAlreadyExists
 
string _temporaryFileName
 
bool _contentsChanged
 
bool _hasBeenSaved
 
string _TempFileFolder
 
bool _ReadStreamIsOurs
 
object LOCK
 
bool _saveOperationCanceled
 
bool _extractOperationCanceled
 
bool _addOperationCanceled
 
EncryptionAlgorithm _Encryption
 
bool _JustSaved
 
long _locEndOfCDS
 
uint _OffsetOfCentralDirectory
 
long _OffsetOfCentralDirectory64
 
bool? _OutputUsesZip64
 
Encoding _alternateEncoding
 
ZipOption _alternateEncodingUsage
 
int _BufferSize
 
bool _SavingSfx
 
long _lengthOfReadStream
 
bool< FullScank__BackingField
 
bool< SortEntriesBeforeSavingk__BackingField
 
bool< AddDirectoryWillTraverseReparsePointsk__BackingField
 
int< CodecBufferSizek__BackingField
 
bool< FlattenFoldersOnExtractk__BackingField
 
CompressionLevel< CompressionLevelk__BackingField
 
ExtractExistingFileAction< ExtractExistingFilek__BackingField
 
SetCompressionCallback< SetCompressionk__BackingField
 
class< GetEnumeratord__3: IEnumerator<ZipEntry>
 
class< GetEnumeratorIEnumerator
 

Static Private Attributes

static Encoding _defaultEncoding
 

Detailed Description

Definition at line 18 of file ZipFile.cs.


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