다음을 통해 공유


CborWriter.WriteCborNegativeIntegerRepresentation(UInt64) 메서드

정의

중요

이 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 유용합니다.

적용 대상