stream.writeString

From GTA Connected
(Redirected from Stream.writeString)
Jump to: navigation, search

Method Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

void stream.writeString(string data)

Description

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

Type Name Presence Default Value Description
string data required n/a The data to write to the stream.

Returns

Success Returns

Type Description
void This method doesn't return any values on success.

Failure Returns

Type Value
void n/a

Types

This method can only be used on the Stream type.

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.

Related