code: public static byte[] intToBytes(int v, final byte[] arr) {
      for (int i = 0; i < 4; i++) {
        arr[i] = (byte) (v & 0XFF);
        v >>>= 8;
      }
      return arr;
    }
docs: Returns a Little-Endian byte array extracted from the given int.
  @param v the given int
  @param arr a given array of 4 bytes that will be returned with the data
  @return a Little-Endian byte array extracted from the given int.