code: public int getBytesBigEndian(int i, int j) {
      int result = 0;
      for (int k = i; k < i + j; k++) {
        result += value.get(k).toUint();
        if (k + 1 < i + j)
          result <<= 8;
      }
      return result;
    }
docs: Gets the bytes.
  
  @param i the i
  @param j the j
  @return the bytes