The widenByte() method

The widenByte() method moves BYTE into the short data type in such a way that the high bit is not propagated.

Method signature

protected static final short widenByte(byte b)