Home Cooker Classes Others Rice CookerGX
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 Cooker runs.

This class is distributed as Rtype.Reader.dll.

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

fitter

SignatureDescription
reader()

Get a new instance of reader class.

reader(string)

Gets a new instance of reader type which is Initialized with the specified file name.

reader(string,bool)

Initializes a new instance of reader type for the specified file name, with the specified byte order mark detection option.

reader(string,int)

Initializes a new instance of reader type for the specified file name, with the specified encoding.

reader(string,int,bool)

Initializes a new instance of reader type for the specified file name, with the specified encoding and the specified byte order mark detection option.

getter

SignatureDescription
EndOfStream

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

Fitted

Gets the 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 character position.

ReadLine()

Gets a next line and advances the character position.

ReadToEnd()

Gets all characters from the current position to the end.

Release()

Release the unmanaged resources that are used in the reader.

Download.

Please download the reader and writer class ( Rtype.Reader.dll ) from the link below.

Please download the source of the reader and writer class from the link below.

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

Copyright © Rice All rights reserved.