stream.writeInt16: Difference between revisions
Jump to navigation
Jump to search
m (Mex moved page Stream.writeInt16 to stream.writeInt16) |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = writeInt16 | ||
|side = shared | |||
|type = method | |type = method | ||
|class = Stream | |class = Stream | ||
| | |games = iii vc sa iv | ||
| | |desc = write 16 bits (2 bytes) with signed integer interpretation to a stream | ||
| | |arg1 = int number The number to write to the stream. | ||
| | |return = void | ||
| | |freturn = void | ||
|note = The integer must be between -32,768 and 32,767 inclusive both ends. | |||
}} | }} |
Latest revision as of 20:37, 19 November 2022
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.