Class ByteArrays


  • public final class ByteArrays
    extends Object
    • Method Detail

      • getShort

        public static short getShort​(byte[] bytes,
                                     int index)
      • getInt

        public static int getInt​(byte[] bytes,
                                 int index)
      • getLong

        public static long getLong​(byte[] bytes,
                                   int index)
      • getFloat

        public static float getFloat​(byte[] bytes,
                                     int index)
      • getDouble

        public static double getDouble​(byte[] bytes,
                                       int index)
      • setShort

        public static void setShort​(byte[] bytes,
                                    int index,
                                    short value)
      • setInt

        public static void setInt​(byte[] bytes,
                                  int index,
                                  int value)
      • setLong

        public static void setLong​(byte[] bytes,
                                   int index,
                                   long value)
      • setFloat

        public static void setFloat​(byte[] bytes,
                                    int index,
                                    float value)
      • setDouble

        public static void setDouble​(byte[] bytes,
                                     int index,
                                     double value)