public class UnsignedTypeUtil extends Object
Constructor | Description |
---|---|
UnsignedTypeUtil() |
Modifier and Type | Method | 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 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)