C# Class RocksmithToolkitLib.PsarcLoader.PSARC

Inheritance: IDisposable
Afficher le fichier Open project: rscustom/rocksmith-custom-song-toolkit Class Usage Examples

Private Properties

Свойство Type Description
DeflateEntries void
ParseTOC void
RequiredPsarcSize long
WriteManifest void

Méthodes publiques

Méthode Description
AddEntry ( Entry entry ) : void
AddEntry ( string name, Stream data ) : void
Dispose ( ) : void
InflateEntries ( ) : void

Inflates all entries in current psarc.

InflateEntry ( Entry entry, string destfilepath = "" ) : void

Inflates selected entry.

InflateEntry ( string name ) : void

Inflates the entry.

PSARC ( ) : System
PSARC ( bool Memory ) : System
Read ( Stream psarc, bool lazy = false ) : void
ReadManifest ( ) : void

Reads file names from the manifest.

Write ( Stream inputStream, bool encrypt = false, bool seek = true ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
DeflateEntries ( byte[]>.Dictionary &entryDeflatedData, List &zLengths ) : void

Packs Entries to zStream

ParseTOC ( ) : void
RequiredPsarcSize ( ) : long

Checks if psarc is not truncated.

WriteManifest ( ) : void

Method Details

AddEntry() public méthode

public AddEntry ( Entry entry ) : void
entry Entry
Résultat void

AddEntry() public méthode

public AddEntry ( string name, Stream data ) : void
name string
data Stream
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

InflateEntries() public méthode

Inflates all entries in current psarc.
public InflateEntries ( ) : void
Résultat void

InflateEntry() public méthode

Inflates selected entry.
public InflateEntry ( Entry entry, string destfilepath = "" ) : void
entry Entry Entry to unpack.
destfilepath string Destination file used instead of the temp file.
Résultat void

InflateEntry() public méthode

Inflates the entry.
public InflateEntry ( string name ) : void
name string Name with extension.
Résultat void

PSARC() public méthode

public PSARC ( ) : System
Résultat System

PSARC() public méthode

public PSARC ( bool Memory ) : System
Memory bool
Résultat System

Read() public méthode

public Read ( Stream psarc, bool lazy = false ) : void
psarc Stream
lazy bool
Résultat void

ReadManifest() public méthode

Reads file names from the manifest.
public ReadManifest ( ) : void
Résultat void

Write() public méthode

public Write ( Stream inputStream, bool encrypt = false, bool seek = true ) : void
inputStream Stream
encrypt bool
seek bool
Résultat void