BigInteger.ByteValueExact 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將此 BigInteger 轉換成 byte,檢查遺失資訊。
[Android.Runtime.Register("byteValueExact", "()B", "GetByteValueExactHandler", ApiSince=31)]
public virtual sbyte ByteValueExact();
[<Android.Runtime.Register("byteValueExact", "()B", "GetByteValueExactHandler", ApiSince=31)>]
abstract member ByteValueExact : unit -> sbyte
override this.ByteValueExact : unit -> sbyte
傳回
這 BigInteger 會轉換成 byte.
- 屬性
備註
將此 BigInteger 轉換成 byte,檢查遺失資訊。 若此 BigInteger 值超出型 byte 別範圍,則拋出 an ArithmeticException 。
新增於1.8版本。
Java 文件 java.math.BigInteger.byteValueExact()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。