Freigeben über


UrlQuerySanitizer.DecodeHexDigit(Char) Method

Definition

Convert a character that represents a hexidecimal digit into an integer.

[Android.Runtime.Register("decodeHexDigit", "(C)I", "GetDecodeHexDigit_CHandler")]
protected virtual int DecodeHexDigit (char c);
[<Android.Runtime.Register("decodeHexDigit", "(C)I", "GetDecodeHexDigit_CHandler")>]
abstract member DecodeHexDigit : char -> int
override this.DecodeHexDigit : char -> int

Parameters

c
Char

the hexidecimal digit.

Returns

the integer value of the hexidecimal digit.

Attributes

Remarks

Convert a character that represents a hexidecimal digit into an integer. If the character is not a hexidecimal digit, then -1 is returned. Both upper case and lower case hex digits are allowed.

Java documentation for android.net.UrlQuerySanitizer.decodeHexDigit(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