Extracted at 2014-06-26.
pike.ida.liu.se
[Top]
Tools
Tools.JSON
Tools.JSON.JSONTokener

Method Tools.JSON.JSONTokener()->dehexchar()


Method dehexchar

int dehexchar(int c)

Description

Get the hex value of a character (base16).

Parameter c

A character between '0' and '9' or between 'A' and 'F' or between 'a' and 'f'.

Returns

An int between 0 and 15, or -1 if c was not a hex digit.