code: private int[] toArray(int val) {
          int[] ret = new int[4];
          for (int j = 3; j >= 0; --j) {
              ret[j] |= ((val >>> 8*(3-j)) & (0xff));
          }
          return ret;
      }
docs: /*
  Convert a packed integer address into a 4-element array