I want to parse an String containing 8 hex-digits (4bytes) but i got an NumberFormatException. What is wrong here?
assertThat(Integer.parseInt(\"FFFF4C6A\",16),i
You've exceeded the range of an integer.
Integer.MAX_VALUE = 2147483647 0xFFFF4C6A = 4294921322
Parsing it as a Long works:
Long
Long.parseLong("FFFF4C6A",16)