textReader.readLine: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Created page with "{{ScriptItem |endpoint = shared |type = method |name = readLine |class = TextReader |parameters = void |usage = read a line of text.<br>The text returned will contain the EOL...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
|class = TextReader
|class = TextReader
|parameters = void
|parameters = void
|usage = read a line of text.<br>The text returned will contain the EOL (end of line) character(s) if they are present for the line of text
|usage = read a line of text from the TextReader's stream.
|return1 = string a string containing the line of text
|return1 = string A string containing the line of text.
|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.readLine(void)

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

Parameters

void This method doesn't take any parameters.

Return

string A string containing the line of text.

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.