stream.writeString: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 15:31, 24 August 2019

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 stream.writeString(string data)

The stream.writeString method is used to write data to a stream, with a header at the start of the data containing an encoded data length.

Parameters

1) string data The data to write to the stream.

Return

void This method doesn't return a value.

Types

Shared Stream

Notes

  • Data can utilize full octet range.
  • See also Stream.writeBytes, which writes data to a stream without a header.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.