C# Class SaltTPF.ZipReader

Datei anzeigen Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Properties

Property Type Description
Description string
EOFStrct EOFRecord
Entries List
Scanned bool
_filename String

Public Methods

Method Description
ZipReader ( String filename ) : System

Construct the zip object. Reads in the file list and uses it to populate the entries var

Private Methods

Method Description
BuffXOR ( Stream buffstream, int count ) : byte[]

Given a stream the function will return a byte array of length count that has been XORed with the TPF key

FindEOFRecord ( Stream tpfstream ) : System.Int64

This function attempts to find the location of the end of central directory record

PopulateEntries ( Stream buffstream ) : void

Reads the Central Directory to populate the list of files

Method Details

ZipReader() public method

Construct the zip object. Reads in the file list and uses it to populate the entries var
public ZipReader ( String filename ) : System
filename String The file to read in
return System

Property Details

Description public_oe property

public string Description
return string

EOFStrct public_oe property

public EOFRecord EOFStrct
return EOFRecord

Entries public_oe property

public List Entries
return List

Scanned public_oe property

public bool Scanned
return bool

_filename public_oe property

public String _filename
return String