stream.writeUInt8
Method
Server and Client
Online and Offline
Available since Server 1.0.0, Client 1.0.0
void stream.writeUInt8(int number)
The stream.writeUInt8 method is used to write 8 bits (1 byte) 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 255 inclusive both ends.
Examples
There aren't any examples for this method.
Compatibility
There isn't any compatibility information for this method.