JSONTokener.Dehexchar(Char) Method

Definition

Returns the integer [0.

[Android.Runtime.Register("dehexchar", "(C)I", "")]
public static int Dehexchar (char hex);
[<Android.Runtime.Register("dehexchar", "(C)I", "")>]
static member Dehexchar : char -> int

Parameters

hex
Char

a character in the ranges [0-9], [A-F] or [a-f]. Any other character will yield a -1 result.

Returns

Attributes

Remarks

Returns the integer [0..15] value for the given hex character, or -1 for non-hex input.

Java documentation for org.json.JSONTokener.dehexchar(char).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to