Readable

From REALbasicWiki

Jump to: navigation, search

The Readable interface is for use by streams from which code can read. It is implemented by BinaryStream, IPCSocket, Serial, StdIn, TCPSocket, and TextInputStream.

Contents

[edit] Methods

[edit] Function EOF( ) As Boolean

Returns True when read reaches the end of the stream.

[edit] Function Read( count As Integer, Optional enc as TextEncoding ) As String

Returns Count bytes from the input stream.

[edit] Function ReadError( ) As Boolean

Returns True if there were any errors in the preceding operations.

Personal tools
related