C# Class CASCExplorer.BLTEStream

Inheritance: Stream
Datei anzeigen Open project: WoW-Tools/CASCExplorer Class Usage Examples

Public Methods

Method Description
BLTEStream ( Stream src, MD5Hash md5 ) : System
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Decompress ( byte data, Stream outStream ) : void
Decrypt ( byte data, int index ) : byte[]
HandleDataBlock ( byte data, int index ) : void
Parse ( MD5Hash md5 ) : void
ProcessNextBlock ( ) : bool

Method Details

BLTEStream() public method

public BLTEStream ( Stream src, MD5Hash md5 ) : System
src Stream
md5 MD5Hash
return System

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void