stream.writeUInt16
Method
Server and Client
Online and Offline
Available since Server 1.0.0, Client 1.0.0
void stream.writeUInt16(int number)
The stream.writeUInt16 method is used to write 16 bits (2 bytes) with unsigned integer interpretation to a stream.
Parameters
1) | int | number | The number to write to the stream. |
Return
void | This method doesn't return a value. |
Types
Shared
Stream
Notes
- The integer must be between 0 and 65,535 inclusive both ends.
Examples
There aren't any examples for this method.
Compatibility
There isn't any compatibility information for this method.