com.mchange.lang
Class ShortUtils
java.lang.Object
com.mchange.lang.ShortUtils
public class ShortUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNSIGNED_MAX_VALUE
public static final int UNSIGNED_MAX_VALUE
- See Also:
- Constant Field Values
shortFromByteArray
public static int shortFromByteArray(byte[] bytes,
int offset)
byteArrayFromShort
public static byte[] byteArrayFromShort(short s)
shortIntoByteArray
public static void shortIntoByteArray(short s,
int offset,
byte[] bytes)
toUnsigned
public static int toUnsigned(short s)