HexFormat.ToLowHexDigit(Int32) Method

Definition

Returns the hexadecimal character for the low 4 bits of the value considering it to be a byte.

[Android.Runtime.Register("toLowHexDigit", "(I)C", "", ApiSince=34)]
public char ToLowHexDigit (int value);
[<Android.Runtime.Register("toLowHexDigit", "(I)C", "", ApiSince=34)>]
member this.ToLowHexDigit : int -> char

Parameters

value
Int32

a value, only the low 4 bits 0-3 of the value are used

Returns

the hexadecimal character for the low 4 bits 0-3 of the value

Attributes

Remarks

Returns the hexadecimal character for the low 4 bits of the value considering it to be a byte. If the parameter #isUpperCase() is true the character returned for values 10-15 is uppercase "A-F", otherwise the character returned is lowercase "a-f". The values in the range 0-9 are returned as "0-9".

Java documentation for java.util.HexFormat.toLowHexDigit(int).

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