MCPcopy Index your code
hub / github.com/benfry/processing4 / unhex

Method unhex

core/src/processing/core/PApplet.java:9358–9361  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers 3

PShapeSVGMethod · 0.95
CharacterSelectorClass · 0.95
PreferencesFrameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected