語言

HexFormat.FromHexDigitsToLong 方法

定義

多載

名稱 Description
FromHexDigitsToLong(String, Int32, Int32)

回傳從最多十六個十六進位字元的字串範圍內解析出的長值。

FromHexDigitsToLong(ICharSequence, Int32, Int32)

回傳從最多十六個十六進位字元的字串範圍內解析出的長值。

FromHexDigitsToLong(ICharSequence)

回傳從最多十六個十六進位字元串中解析出的長值。

FromHexDigitsToLong(String)

回傳從最多十六個十六進位字元串中解析出的長值。

FromHexDigitsToLong(String, Int32, Int32)

回傳從最多十六個十六進位字元的字串範圍內解析出的長值。

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

參數

string
String

一個包含角色的 CharSequence

fromIndex
Int32

範圍的初始索引(含含)

toIndex
Int32

該系列的最終索引,獨家。

傳回

從字串範圍解析出來的值

備註

回傳從最多十六個十六進位字元的字串範圍內解析出的長值。 區間 fromIndex 到 toIndex、排他性中的字元會依序從最重要到最不重要 #fromHexDigit(int) ,形成無符號值。 該值在零擴展後為 64 位元,並以 long.

的 java.util.HexFormat.fromHexDigitsToLong(java.lang.CharSequence, int, int)Java 檔。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

FromHexDigitsToLong(ICharSequence, Int32, Int32)

回傳從最多十六個十六進位字元的字串範圍內解析出的長值。

[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

參數

string
ICharSequence

一個包含角色的 CharSequence

fromIndex
Int32

範圍的初始索引(含含)

toIndex
Int32

該系列的最終索引,獨家。

傳回

從字串範圍解析出來的值

屬性

備註

回傳從最多十六個十六進位字元的字串範圍內解析出的長值。 區間 fromIndex 到 toIndex、排他性中的字元會依序從最重要到最不重要 #fromHexDigit(int) ,形成無符號值。 該值在零擴展後為 64 位元,並以 long.

的 java.util.HexFormat.fromHexDigitsToLong(java.lang.CharSequence, int, int)Java 檔。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

FromHexDigitsToLong(ICharSequence)

回傳從最多十六個十六進位字元串中解析出的長值。

[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

參數

string
ICharSequence

一個包含最多十六個十六進位字元的 CharSequence

傳回

從字串解析出來的值

屬性

備註

回傳從最多十六個十六進位字元串中解析出的長值。 十六進位字元會從最重要到最不重要,用來 #fromHexDigit(int) 組成無符號值。 該值在零擴展後為 64 位元,並以 long.

的 java.util.HexFormat.fromHexDigitsToLong(java.lang.CharSequence)Java 檔。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

FromHexDigitsToLong(String)

回傳從最多十六個十六進位字元串中解析出的長值。

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

參數

string
String

一個包含最多十六個十六進位字元的 CharSequence

傳回

從字串解析出來的值

備註

回傳從最多十六個十六進位字元串中解析出的長值。 十六進位字元會從最重要到最不重要,用來 #fromHexDigit(int) 組成無符號值。 該值在零擴展後為 64 位元,並以 long.

的 java.util.HexFormat.fromHexDigitsToLong(java.lang.CharSequence)Java 檔。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於