CborWriter.WriteCborNegativeIntegerRepresentation(UInt64) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重要
此 API 不符合 CLS。
将所提供的值写入 CBOR 负整数表示形式(主要类型 1)。
public:
void WriteCborNegativeIntegerRepresentation(System::UInt64 value);
[System.CLSCompliant(false)]
public void WriteCborNegativeIntegerRepresentation(ulong value);
[<System.CLSCompliant(false)>]
member this.WriteCborNegativeIntegerRepresentation : uint64 -> unit
Public Sub WriteCborNegativeIntegerRepresentation (value As ULong)
参数
- value
- UInt64
表示 -1 减去整数的无符号整数。
- 特性
例外
注解
此方法支持在 -18446744073709551616 和 -1 之间编码整数。 用于处理不适合 Int64 类型的值。