textReader.close: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Created page with "{{ScriptItem |endpoint = shared |type = method |name = close |class = TextReader |parameters = void |usage = close a TextReader stream |return1 = void |returnFail1 = void }}")
 
No edit summary
 
Line 5: Line 5:
|class = TextReader
|class = TextReader
|parameters = void
|parameters = void
|usage = close a TextReader stream
|usage = close a TextReader object.<br>If a Stream object is closed whilst that Stream is being managed by a TextReader object, then that Stream is kept open by the TextReader object.
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
|notes = A Stream is passed to the TextReader constructor, before using the TextReader methods.
}}
}}

Latest revision as of 01:55, 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

void textReader.close(void)

The textReader.close method is used to close a TextReader object.
If a Stream object is closed whilst that Stream is being managed by a TextReader object, then that Stream is kept open by the TextReader object.

Parameters

void This method doesn't take any parameters.

Return

void This method doesn't return a value.

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.