com.lti.utils
Class UnsignedUtils
java.lang.Object
com.lti.utils.UnsignedUtils
public final class UnsignedUtils
- extends java.lang.Object
Because java does not support unsigned types, a collection of useful functions for
treating types as unsigned.
TODO: move to src.utils/com.lti.utils.
- Author:
- Ken Larson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_UBYTE
public static final int MAX_UBYTE
- See Also:
- Constant Field Values
MAX_USHORT
public static final int MAX_USHORT
- See Also:
- Constant Field Values
MAX_UINT
public static final long MAX_UINT
- See Also:
- Constant Field Values
uByteToInt
public static int uByteToInt(byte value)
uShortToInt
public static int uShortToInt(short value)
uIntToLong
public static long uIntToLong(int value)