CborReader.ReadCborNegativeIntegerRepresentation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重要
此 API 不符合 CLS。
将下一个数据项作为 CBOR 负整数表示形式(主要类型 1)读取。
public:
System::UInt64 ReadCborNegativeIntegerRepresentation();
[System.CLSCompliant(false)]
public ulong ReadCborNegativeIntegerRepresentation ();
[<System.CLSCompliant(false)>]
member this.ReadCborNegativeIntegerRepresentation : unit -> uint64
Public Function ReadCborNegativeIntegerRepresentation () As ULong
返回
表示 -1 减去整数的无符号整数。
- 属性
例外
下一个数据项没有正确的主类型。
注解
此方法支持解码 -18446744073709551616 和 -1 之间的整数。 可用于处理不适合 Int64 类型的值。