C# Class LSLib.LS.LSF.LSFReader

Inheritance: IDisposable
Afficher le fichier Open project: Norbyte/lslib

Méthodes publiques

Méthode Description
Dispose ( ) : void
LSFReader ( Stream stream ) : LZ4
Read ( ) : Resource

Private Methods

Méthode Description
Decompress ( BinaryReader reader, uint compressedSize, uint uncompressedSize, Header header ) : byte[]
ReadAttribute ( NodeAttribute type, BinaryReader reader, uint length ) : NodeAttribute
ReadAttributesV2 ( Stream s ) : void

Reads the V2 attribute headers for the LSOF resource

ReadAttributesV3 ( Stream s ) : void

Reads the V3 attribute headers for the LSOF resource

ReadNames ( Stream s ) : void

Reads the static string hash table from the specified stream.

ReadNode ( NodeInfo defn, Node node, BinaryReader attributeReader ) : void
ReadNodes ( Stream s, bool longNodes ) : void

Reads the structure headers for the LSOF resource

ReadRegions ( Resource resource ) : void
ReadString ( BinaryReader reader ) : string
ReadString ( BinaryReader reader, int length ) : string

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

LSFReader() public méthode

public LSFReader ( Stream stream ) : LZ4
stream Stream
Résultat LZ4

Read() public méthode

public Read ( ) : Resource
Résultat Resource