HexFormat.FromHexDigitsToLong Method

Definition

Overloads

FromHexDigitsToLong(String, Int32, Int32)

Returns the long value parsed from a string range of up to sixteen hexadecimal characters.

FromHexDigitsToLong(ICharSequence, Int32, Int32)

Returns the long value parsed from a string range of up to sixteen hexadecimal characters.

FromHexDigitsToLong(ICharSequence)

Returns the long value parsed from a string of up to sixteen hexadecimal characters.

FromHexDigitsToLong(String)

Returns the long value parsed from a string of up to sixteen hexadecimal characters.

FromHexDigitsToLong(String, Int32, Int32)

Returns the long value parsed from a string range of up to sixteen hexadecimal characters.

public static long FromHexDigitsToLong (string? string, int fromIndex, int toIndex);
static member FromHexDigitsToLong : string * int * int -> int64

Parameters

string
String

a CharSequence containing the characters

fromIndex
Int32

the initial index of the range, inclusive

toIndex
Int32

the final index of the range, exclusive.

Returns

the value parsed from the string range

Remarks

Returns the long value parsed from a string range of up to sixteen hexadecimal characters. The characters in the range fromIndex to toIndex, exclusive, are parsed from most significant to least significant using #fromHexDigit(int) to form an unsigned value. The value is zero extended to 64 bits and is returned as a long.

Java documentation for java.util.HexFormat.fromHexDigitsToLong(java.lang.CharSequence, int, 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

FromHexDigitsToLong(ICharSequence, Int32, Int32)

Returns the long value parsed from a string range of up to sixteen hexadecimal characters.

[Android.Runtime.Register("fromHexDigitsToLong", "(Ljava/lang/CharSequence;II)J", "", ApiSince=34)]
public static long FromHexDigitsToLong (Java.Lang.ICharSequence? string, int fromIndex, int toIndex);
[<Android.Runtime.Register("fromHexDigitsToLong", "(Ljava/lang/CharSequence;II)J", "", ApiSince=34)>]
static member FromHexDigitsToLong : Java.Lang.ICharSequence * int * int -> int64

Parameters

string
ICharSequence

a CharSequence containing the characters

fromIndex
Int32

the initial index of the range, inclusive

toIndex
Int32

the final index of the range, exclusive.

Returns

the value parsed from the string range

Attributes

Remarks

Returns the long value parsed from a string range of up to sixteen hexadecimal characters. The characters in the range fromIndex to toIndex, exclusive, are parsed from most significant to least significant using #fromHexDigit(int) to form an unsigned value. The value is zero extended to 64 bits and is returned as a long.

Java documentation for java.util.HexFormat.fromHexDigitsToLong(java.lang.CharSequence, int, 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

FromHexDigitsToLong(ICharSequence)

Returns the long value parsed from a string of up to sixteen hexadecimal characters.

[Android.Runtime.Register("fromHexDigitsToLong", "(Ljava/lang/CharSequence;)J", "", ApiSince=34)]
public static long FromHexDigitsToLong (Java.Lang.ICharSequence? string);
[<Android.Runtime.Register("fromHexDigitsToLong", "(Ljava/lang/CharSequence;)J", "", ApiSince=34)>]
static member FromHexDigitsToLong : Java.Lang.ICharSequence -> int64

Parameters

string
ICharSequence

a CharSequence containing up to sixteen hexadecimal characters

Returns

the value parsed from the string

Attributes

Remarks

Returns the long value parsed from a string of up to sixteen hexadecimal characters. The hexadecimal characters are parsed from most significant to least significant using #fromHexDigit(int) to form an unsigned value. The value is zero extended to 64 bits and is returned as a long.

Java documentation for java.util.HexFormat.fromHexDigitsToLong(java.lang.CharSequence).

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

FromHexDigitsToLong(String)

Returns the long value parsed from a string of up to sixteen hexadecimal characters.

public static long FromHexDigitsToLong (string? string);
static member FromHexDigitsToLong : string -> int64

Parameters

string
String

a CharSequence containing up to sixteen hexadecimal characters

Returns

the value parsed from the string

Remarks

Returns the long value parsed from a string of up to sixteen hexadecimal characters. The hexadecimal characters are parsed from most significant to least significant using #fromHexDigit(int) to form an unsigned value. The value is zero extended to 64 bits and is returned as a long.

Java documentation for java.util.HexFormat.fromHexDigitsToLong(java.lang.CharSequence).

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