Home Notices Documents Classes Download Others Rice
Classes  >  reader
reader class

Description

Provides the function to input from the text file.

Notes

It is a class that is dynamically embedded when the CookerGX runs.

This class is distributed as Rtype.Reader.dll.

The dll file is in the dlls directory in the CookerGX's distribution archive.

DLL

Rtype.Reader.dll

fitter

SignatureDescription
reader()

Get a new instance of reader class.

reader(string)

Gets a new instance of reader class which is initialized with the specified file name.

reader(string,bool)

Initializes and returns a new instance of reader class with file name and reading mode setting option.

reader(string,string)

Initializes and returns a new instance of reader class with file name and character encoding.

reader(string,string,bool)

Initializes and returns a new instance of reader class with file name, character encoding, and reading mode setting option.

getter

SignatureDescription
EndOfStream

Gets a value that indicates whether the current stream position is at the end of the stream.

EOF

Gets a value indicating whether the current read position is at the end of the file.

Fitted

Gets a value that indicates whether this instance was already initialized.

TypeName

Gets the type name.

setter

This class does not have a setter.

method

SignatureDescription
Peek()

Returns a next available character.

Read()

Gets a next character and advances the reading position.

ReadLine()

Gets a next line and advances the reading position.

ReadToEnd()

Gets all characters from the current position to the end.

Release()

Release the unmanaged resources that are used in the reader.

Downloads for latest version.

The above .dll and source files are distributed as a self-extracting archive of 7z format.

Downloads for old version.

The above .dll and source files are distributed as a self-extracting archive of 7z format.

Copyright © Rice All rights reserved.