C# Class System.TermInfoReader

ファイルを表示 Open project: runefs/Marvin Class Usage Examples

Public Methods

Method Description
Get ( TermInfoBooleans boolean ) : bool
Get ( TermInfoNumbers number ) : int
Get ( TermInfoStrings tstr ) : string
GetStringBytes ( TermInfoStrings tstr ) : byte[]
TermInfoReader ( string term, byte buffer ) : System.IO
TermInfoReader ( string term, string filename ) : System.IO

Private Methods

Method Description
Escape ( string s ) : string
GetInt16 ( byte buffer, int offset ) : short
GetString ( byte buffer, int offset ) : string
GetStringBytes ( byte buffer, int offset ) : byte[]
ReadHeader ( byte buffer, int &position ) : void
ReadNames ( byte buffer, int &position ) : void

Method Details

Get() public method

public Get ( TermInfoBooleans boolean ) : bool
boolean TermInfoBooleans
return bool

Get() public method

public Get ( TermInfoNumbers number ) : int
number TermInfoNumbers
return int

Get() public method

public Get ( TermInfoStrings tstr ) : string
tstr TermInfoStrings
return string

GetStringBytes() public method

public GetStringBytes ( TermInfoStrings tstr ) : byte[]
tstr TermInfoStrings
return byte[]

TermInfoReader() public method

public TermInfoReader ( string term, byte buffer ) : System.IO
term string
buffer byte
return System.IO

TermInfoReader() public method

public TermInfoReader ( string term, string filename ) : System.IO
term string
filename string
return System.IO