public class UnsignedTypeUtil
extends java.lang.Object
Constructor and Description |
---|
UnsignedTypeUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
uByteToInt(byte unsignedByte)
Convert an unsigned byte to a signed int
|
static int |
uByteToShort(byte unsignedByte)
Convert an unsigned byte to a signed short
|
static float |
uIntToFloat(int unsignedInt) |
static long |
uIntToLong(int unsignedInt)
Convert an unsigned int to a long
|
static int |
uShortToInt(short unsignedShort)
Convert an unsigned short to an Int
|
public static int uByteToInt(byte unsignedByte)
public static int uByteToShort(byte unsignedByte)
public static int uShortToInt(short unsignedShort)
public static long uIntToLong(int unsignedInt)
public static float uIntToFloat(int unsignedInt)