util.Channels.writeNetInt16
Writes two bytes of a 16 bit integer to a
base.Channel
, in network byte order.
Syntax
Important:
This feature is experimental, the syntax/name and semantics/behavior may change in a future version.
util.Channels.writeNetInt16(
out base.Channel
,
v SMALLINT
)
- out is the channel to write to.
- v is the 16 bit integer to be written.
Usage
The util.Channels.writeNetInt16()
writes the specified 16 bit integer in network
by order, into a base.Channel
object.