textReader.readCharacter: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Created page with "{{ScriptItem |endpoint = shared |type = method |name = readCharacter |class = TextReader |parameters = void |usage = read a character of text.<br>The text returned may be an E...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
|class = TextReader
|class = TextReader
|parameters = void
|parameters = void
|usage = read a character of text.<br>The text returned may be an EOL (end of line) character.<br>This method will not return a null-byte (\0) character
|usage = read a character of text from the TextReader's stream.
|return1 = string a string containing the character read
|return1 = string A string containing the character read.
|returnFail1 = void
|returnFail1 = void
|notes = A Stream is passed to the TextReader constructor, before using the TextReader methods.
}}
}}

Latest revision as of 01:49, 3 December 2020

Method Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0

string textReader.readCharacter(void)

The textReader.readCharacter method is used to read a character of text from the TextReader's stream.

Parameters

void This method doesn't take any parameters.

Return

string A string containing the character read.

Types

Client TextReader

Notes

  • A Stream is passed to the TextReader constructor, before using the TextReader methods.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.