stream.readString

From GTA Connected
Jump to navigation Jump to search

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 stream.readString(void)

The stream.readString method is used to read data from a stream, that was written to the stream using Stream::writeString(), because of the header at the start of the data containing an encoded data length.

Parameters

void This method doesn't take any parameters.

Return

string A string containing the data read from the stream.

Types

Shared Stream

Notes

  • Data can utilize full octet range.
  • See also Stream.readBytes, which reads data from a stream without a header.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.