util.Channels.writeNetInt32

Writes four bytes of a 32 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.writeNetInt32(
     out base.Channel,
     v INTEGER
)
  1. out is the channel to write to.
  2. v is the 32 bit integer to be written.

Usage

The util.Channels.writeNetInt16() writes the specified 32 bit integer in network by order, into a base.Channel object.