My Project v1
Project
载入中...
搜索中...
未找到
Game.ZipArchive
类 Game.ZipArchive 继承关系图:
Game.ZipArchive 的协作图:

Public 类型

enum  Compression : ushort { Store = 0 , Deflate = 8 }
 

Public 成员函数

 ZipArchive ()
 
void AddStream (string filenameInZip, Stream source)
 
void Close ()
 
List< ZipArchiveEntryReadCentralDir ()
 
void ExtractFile (ZipArchiveEntry zfe, Stream stream)
 
uint GetFileOffset (uint _headerOffset)
 
void WriteLocalHeader (ZipArchiveEntry _zfe)
 
void WriteCentralDirRecord (ZipArchiveEntry _zfe)
 
void WriteEndRecord (uint _size, uint _offset)
 
void Store (ZipArchiveEntry _zfe, Stream _source)
 
uint DateTimeToDosTime (DateTime _dt)
 
DateTime DosTimeToDateTime (uint _dt)
 
void UpdateCrcAndSizes (ZipArchiveEntry _zfe)
 
string NormalizedFilename (string _filename)
 
bool ReadFileInfo ()
 
void Dispose ()
 

静态 Public 成员函数

static ZipArchive Create (Stream stream, bool keepStreamOpen=false)
 
static ZipArchive Open (Stream stream, bool keepStreamOpen=false)
 
static bool IsUTF8Bytes (byte[] data, int start, int count)
 

Public 属性

bool ForceDeflating
 
bool KeepStreamOpen
 
List< ZipArchiveEntryFiles = []
 
Stream ZipFileStream
 
string Comment = ""
 
byte[] CentralDirImage
 
ushort ExistingFiles
 
bool ReadOnly
 

静态 Public 属性

static uint[] CrcTable
 

静态 Private 成员函数

static ZipArchive ()
 

成员枚举类型说明

◆ Compression

枚举值
Store 
Deflate 

构造及析构函数说明

◆ ZipArchive() [1/2]

static Game.ZipArchive.ZipArchive ( )
staticprivate

◆ ZipArchive() [2/2]

Game.ZipArchive.ZipArchive ( )

成员函数说明

◆ AddStream()

void Game.ZipArchive.AddStream ( string filenameInZip,
Stream source )
函数调用图:

◆ Close()

void Game.ZipArchive.Close ( )
函数调用图:
这是这个函数的调用关系图:

◆ Create()

static ZipArchive Game.ZipArchive.Create ( Stream stream,
bool keepStreamOpen = false )
static
这是这个函数的调用关系图:

◆ DateTimeToDosTime()

uint Game.ZipArchive.DateTimeToDosTime ( DateTime _dt)
这是这个函数的调用关系图:

◆ Dispose()

void Game.ZipArchive.Dispose ( )
函数调用图:
这是这个函数的调用关系图:

◆ DosTimeToDateTime()

DateTime Game.ZipArchive.DosTimeToDateTime ( uint _dt)
这是这个函数的调用关系图:

◆ ExtractFile()

void Game.ZipArchive.ExtractFile ( ZipArchiveEntry zfe,
Stream stream )
函数调用图:
这是这个函数的调用关系图:

◆ GetFileOffset()

uint Game.ZipArchive.GetFileOffset ( uint _headerOffset)
这是这个函数的调用关系图:

◆ IsUTF8Bytes()

static bool Game.ZipArchive.IsUTF8Bytes ( byte[] data,
int start,
int count )
static
这是这个函数的调用关系图:

◆ NormalizedFilename()

string Game.ZipArchive.NormalizedFilename ( string _filename)
这是这个函数的调用关系图:

◆ Open()

static ZipArchive Game.ZipArchive.Open ( Stream stream,
bool keepStreamOpen = false )
static
函数调用图:
这是这个函数的调用关系图:

◆ ReadCentralDir()

List< ZipArchiveEntry > Game.ZipArchive.ReadCentralDir ( )
函数调用图:
这是这个函数的调用关系图:

◆ ReadFileInfo()

bool Game.ZipArchive.ReadFileInfo ( )
这是这个函数的调用关系图:

◆ Store()

void Game.ZipArchive.Store ( ZipArchiveEntry _zfe,
Stream _source )
这是这个函数的调用关系图:

◆ UpdateCrcAndSizes()

void Game.ZipArchive.UpdateCrcAndSizes ( ZipArchiveEntry _zfe)
这是这个函数的调用关系图:

◆ WriteCentralDirRecord()

void Game.ZipArchive.WriteCentralDirRecord ( ZipArchiveEntry _zfe)
函数调用图:
这是这个函数的调用关系图:

◆ WriteEndRecord()

void Game.ZipArchive.WriteEndRecord ( uint _size,
uint _offset )
这是这个函数的调用关系图:

◆ WriteLocalHeader()

void Game.ZipArchive.WriteLocalHeader ( ZipArchiveEntry _zfe)
函数调用图:
这是这个函数的调用关系图:

类成员变量说明

◆ CentralDirImage

byte [] Game.ZipArchive.CentralDirImage

◆ Comment

string Game.ZipArchive.Comment = ""

◆ CrcTable

uint [] Game.ZipArchive.CrcTable
static

◆ ExistingFiles

ushort Game.ZipArchive.ExistingFiles

◆ Files

List<ZipArchiveEntry> Game.ZipArchive.Files = []

◆ ForceDeflating

bool Game.ZipArchive.ForceDeflating

◆ KeepStreamOpen

bool Game.ZipArchive.KeepStreamOpen

◆ ReadOnly

bool Game.ZipArchive.ReadOnly

◆ ZipFileStream

Stream Game.ZipArchive.ZipFileStream

该类的文档由以下文件生成: