stream.writeInt16
Method
Server and Client
Online and Offline
Available since Server 1.0.0, Client 1.0.0
void stream.writeInt16(int number)
The stream.writeInt16 method is used to write 16 bits (2 bytes) with signed 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 -32,768 and 32,767 inclusive both ends.
Examples
There aren't any examples for this method.
Compatibility
There isn't any compatibility information for this method.