C# Класс SharpTune.RomMod.SRecordReader

Reads SRecord objects from an SRecord file.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetByte ( string record, int &index, int &checksum ) : byte

Get a single byte from an SRecord row.

Описание методов

Dispose() публичный метод

Disposes the underlying StreamReader.
public Dispose ( ) : void
Результат void

Open() публичный метод

Open the file reader.
public Open ( ) : void
Результат void

Reset() публичный метод

Close and re-open the reader.
public Reset ( ) : void
Результат void

SRecordReader() публичный метод

public SRecordReader ( Stream stream, string path ) : System
stream Stream
path string
Результат System

SRecordReader() публичный метод

Constructor.
public SRecordReader ( string path ) : System
path string
Результат System

TryReadNextRecord() публичный метод

Read the next record from an SRecord file.
public TryReadNextRecord ( SRecord &record ) : bool
record SRecord
Результат bool