C# Class LSLib.LS.LSF.LSFReader

Inheritance: IDisposable
显示文件 Open project: Norbyte/lslib

Public Methods

Method Description
Dispose ( ) : void
LSFReader ( Stream stream ) : LZ4
Read ( ) : Resource

Private Methods

Method 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 method

public Dispose ( ) : void
return void

LSFReader() public method

public LSFReader ( Stream stream ) : LZ4
stream Stream
return LZ4

Read() public method

public Read ( ) : Resource
return Resource