C# Class OpenRA.FileSystem.MixFile

Inheritance: IFolder, IDisposable
ファイルを表示 Open project: OpenRA/OpenRA Class Usage Examples

Public Methods

Method Description
Contains ( string filename ) : bool
Dispose ( ) : void
GetContent ( PackageEntry entry ) : Stream
GetStream ( string filename ) : Stream
MixFile ( FileSystem context, string filename ) : System

Private Methods

Method Description
Decrypt ( uint h, Blowfish fish ) : MemoryStream
DecryptHeader ( Stream s, long offset, long &headerEnd ) : MemoryStream
ParseHeader ( Stream s, long offset, long &headerEnd ) : List
ParseIndex ( PackageEntry>.Dictionary entries ) : PackageEntry>.Dictionary
ReadBlocks ( Stream s, long offset, int count ) : uint[]

Method Details

Contains() public method

public Contains ( string filename ) : bool
filename string
return bool

Dispose() public method

public Dispose ( ) : void
return void

GetContent() public method

public GetContent ( PackageEntry entry ) : Stream
entry PackageEntry
return Stream

GetStream() public method

public GetStream ( string filename ) : Stream
filename string
return Stream

MixFile() public method

public MixFile ( FileSystem context, string filename ) : System
context FileSystem
filename string
return System