JSONTokener.Dehexchar(Char) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.