C# Class System.TermInfoReader

Afficher le fichier Open project: runefs/Marvin Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Get ( TermInfoBooleans boolean ) : bool
boolean TermInfoBooleans
Résultat bool

Get() public méthode

public Get ( TermInfoNumbers number ) : int
number TermInfoNumbers
Résultat int

Get() public méthode

public Get ( TermInfoStrings tstr ) : string
tstr TermInfoStrings
Résultat string

GetStringBytes() public méthode

public GetStringBytes ( TermInfoStrings tstr ) : byte[]
tstr TermInfoStrings
Résultat byte[]

TermInfoReader() public méthode

public TermInfoReader ( string term, byte buffer ) : System.IO
term string
buffer byte
Résultat System.IO

TermInfoReader() public méthode

public TermInfoReader ( string term, string filename ) : System.IO
term string
filename string
Résultat System.IO