Class ShortUtils


  • public class ShortUtils
    extends java.lang.Object
    • Method Detail

      • shortFromByteArray

        public static short 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)