util.Channels.readNetInt8

Reads next byte from a base.Channel as a 8 bit integer.

Syntax

Important:

This feature is experimental, the syntax/name and semantics/behavior may change in a future version.

util.Channels.readNetInt8(
     in base.Channel )
RETURNS SMALLINT
  1. in is the channel to read from.
  2. Returns the 8 bit integer.

Usage

The util.Channels.readNetInt16() reads a single byte as an 8 bit integer, from a base.Channel object.