stream.writeString
Jump to navigation
Jump to search
Method
Server and Client
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.