Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.IO.Compression.ZipArchive Class Reference

Public Member Functions

 ZipArchive (Stream stream)
 
 ZipArchive (Stream stream, ZipArchiveMode mode)
 
 ZipArchive (Stream stream, ZipArchiveMode mode, bool leaveOpen)
 
 ZipArchive (Stream stream, ZipArchiveMode mode, bool leaveOpen, Encoding? entryNameEncoding)
 
ZipArchiveEntry CreateEntry (string entryName)
 
ZipArchiveEntry CreateEntry (string entryName, CompressionLevel compressionLevel)
 
void Dispose ()
 
ZipArchiveEntryGetEntry (string entryName)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Package Functions

void AcquireArchiveStream (ZipArchiveEntry entry)
 
void ReleaseArchiveStream (ZipArchiveEntry entry)
 
void RemoveEntry (ZipArchiveEntry entry)
 
void ThrowIfDisposed ()
 

Properties

ReadOnlyCollection< ZipArchiveEntryEntries [get]
 
ZipArchiveMode Mode [get]
 
BinaryReaderArchiveReader [get]
 
Stream ArchiveStream [get]
 
uint NumberOfThisDisk [get]
 
EncodingEntryNameEncoding [get, private set]
 

Private Member Functions

ZipArchiveEntry DoCreateEntry (string entryName, CompressionLevel? compressionLevel)
 
void AddEntry (ZipArchiveEntry entry)
 
void CloseStreams ()
 
void EnsureCentralDirectoryRead ()
 
void ReadCentralDirectory ()
 
void ReadEndOfCentralDirectory ()
 
void TryReadZip64EndOfCentralDirectory (ZipEndOfCentralDirectoryBlock eocd, long eocdStart)
 
void WriteFile ()
 
void WriteArchiveEpilogue (long startOfCentralDirectory, long sizeOfCentralDirectory)
 

Private Attributes

readonly Stream _archiveStream
 
ZipArchiveEntry _archiveStreamOwner
 
BinaryReader _archiveReader
 
ZipArchiveMode _mode
 
List< ZipArchiveEntry_entries
 
ReadOnlyCollection< ZipArchiveEntry_entriesCollection
 
Dictionary< string, ZipArchiveEntry_entriesDictionary
 
bool _readEntries
 
bool _leaveOpen
 
long _centralDirectoryStart
 
bool _isDisposed
 
uint _numberOfThisDisk
 
long _expectedNumberOfEntries
 
Stream _backingStream
 
byte[] _archiveComment
 
Encoding _entryNameEncoding
 

Detailed Description

Definition at line 7 of file ZipArchive.cs.


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