Converts a String representation of a hexadecimal number to its equivalent integer value. @webref data:conversion @webBrief Converts a String representation of a hexadecimal number to its equivalent integer value @param value String to convert to an integer @see PAp
(String value)
| 9356 | * @see PApplet#unbinary(String) |
| 9357 | */ |
| 9358 | static final public int unhex(String value) { |
| 9359 | // has to parse as a Long so that it'll work for numbers bigger than 2^31 |
| 9360 | return (int) (Long.parseLong(value, 16)); |
| 9361 | } |
| 9362 | |
| 9363 | // |
| 9364 |
no outgoing calls
no test coverage detected