C# Class SharpTune.RomMod.SRecordReader

Reads SRecord objects from an SRecord file.
Inheritance: IDisposable
Afficher le fichier Open project: Merp/SharpTune Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void

Disposes the underlying StreamReader.

Open ( ) : void

Open the file reader.

Reset ( ) : void

Close and re-open the reader.

SRecordReader ( Stream stream, string path ) : System
SRecordReader ( string path ) : System

Constructor.

TryReadNextRecord ( SRecord &record ) : bool

Read the next record from an SRecord file.

Private Methods

Méthode Description
GetByte ( string record, int &index, int &checksum ) : byte

Get a single byte from an SRecord row.

Method Details

Dispose() public méthode

Disposes the underlying StreamReader.
public Dispose ( ) : void
Résultat void

Open() public méthode

Open the file reader.
public Open ( ) : void
Résultat void

Reset() public méthode

Close and re-open the reader.
public Reset ( ) : void
Résultat void

SRecordReader() public méthode

public SRecordReader ( Stream stream, string path ) : System
stream Stream
path string
Résultat System

SRecordReader() public méthode

Constructor.
public SRecordReader ( string path ) : System
path string
Résultat System

TryReadNextRecord() public méthode

Read the next record from an SRecord file.
public TryReadNextRecord ( SRecord &record ) : bool
record SRecord
Résultat bool