code: public static int[] convertBytesToInts(byte[] bytes)
      {
          if (bytes.length % 4 != 0)
          {
              throw new IllegalArgumentException("Number of input bytes must be a multiple of 4.");
          }
          int[] ints = new int[bytes.length / 4];
          for (int i = 0; i < ints.length; i++)
          {
              ints[i] = convertBytesToInt(bytes, i * 4);
          }
          return ints;
      }
docs: Convert an array of bytes into an array of ints.  4 bytes from the
  input data map to a single int in the output data.
  @param bytes The data to read from.
  @return An array of 32-bit integers constructed from the data.
  @since 1.1