Java Utililty Methods Byte to Int

List of utility methods to do Byte to Int

Description

The list of methods to do Byte to Int are organized into topic(s).

Method

intbyteToPositiveInt(byte inByte)
byte To Positive Int
return inByte + 128;
intubyte2int(byte in)
ubyteint
return (in < 0) ? (int) in + 256 : (int) in;
intubyte2int(final byte x)
Interprets the value of x as an unsigned byte, and returns it as integer.
return x & 0xFF;