textReader.readLine: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 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.<br>This method will not include a null-byte (\0) in the returned 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.