AsnWriter.WriteInteger 메서드

정의

오버로드

WriteInteger(Int64, Nullable<Asn1Tag>)

지정된 태그가 있는 정수 값을 씁니다.

WriteInteger(BigInteger, Nullable<Asn1Tag>)

지정된 태그가 있는 정수 값을 씁니다.

WriteInteger(ReadOnlySpan<Byte>, Nullable<Asn1Tag>)

지정된 태그가 있는 정수 값을 씁니다.

WriteInteger(UInt64, Nullable<Asn1Tag>)

지정된 태그가 있는 정수 값을 씁니다.

WriteInteger(Int64, Nullable<Asn1Tag>)

Source:
AsnWriter.Integer.cs
Source:
AsnWriter.Integer.cs
Source:
AsnWriter.Integer.cs

지정된 태그가 있는 정수 값을 씁니다.

public void WriteInteger (long value, System.Formats.Asn1.Asn1Tag? tag = default);
member this.WriteInteger : int64 * Nullable<System.Formats.Asn1.Asn1Tag> -> unit
Public Sub WriteInteger (value As Long, Optional tag As Nullable(Of Asn1Tag) = Nothing)

매개 변수

value
Int64

작성할 값입니다.

tag
Nullable<Asn1Tag>

쓸 태그이거나, 기본 태그(유니버설 2)인 경우 null입니다.

예외

tag.TagClassUniversal이지만 tagTagValue 가 메서드에 대해 올바르지 않습니다.

적용 대상

WriteInteger(BigInteger, Nullable<Asn1Tag>)

Source:
AsnWriter.Integer.cs
Source:
AsnWriter.Integer.cs
Source:
AsnWriter.Integer.cs

지정된 태그가 있는 정수 값을 씁니다.

public void WriteInteger (System.Numerics.BigInteger value, System.Formats.Asn1.Asn1Tag? tag = default);
member this.WriteInteger : System.Numerics.BigInteger * Nullable<System.Formats.Asn1.Asn1Tag> -> unit
Public Sub WriteInteger (value As BigInteger, Optional tag As Nullable(Of Asn1Tag) = Nothing)

매개 변수

value
BigInteger

작성할 값입니다.

tag
Nullable<Asn1Tag>

쓸 태그이거나, 기본 태그(유니버설 2)인 경우 null입니다.

예외

tag.TagClassUniversal이지만 tagTagValue 가 메서드에 대해 올바르지 않습니다.

적용 대상

WriteInteger(ReadOnlySpan<Byte>, Nullable<Asn1Tag>)

Source:
AsnWriter.Integer.cs
Source:
AsnWriter.Integer.cs
Source:
AsnWriter.Integer.cs

지정된 태그가 있는 정수 값을 씁니다.

public void WriteInteger (ReadOnlySpan<byte> value, System.Formats.Asn1.Asn1Tag? tag = default);
member this.WriteInteger : ReadOnlySpan<byte> * Nullable<System.Formats.Asn1.Asn1Tag> -> unit
Public Sub WriteInteger (value As ReadOnlySpan(Of Byte), Optional tag As Nullable(Of Asn1Tag) = Nothing)

매개 변수

value
ReadOnlySpan<Byte>

부호 있는 big-endian 바이트 순서로 쓸 정수 값입니다.

tag
Nullable<Asn1Tag>

쓸 태그이거나, 기본 태그(유니버설 2)인 경우 null입니다.

예외

tag.TagClassUniversal이지만 tagTagValue 가 메서드에 대해 올바르지 않습니다.

9개의 가장 중요한 비트가 모두 설정되었습니다. -또는- 9개의 가장 중요한 비트가 모두 설정되지 않았습니다.

적용 대상

WriteInteger(UInt64, Nullable<Asn1Tag>)

Source:
AsnWriter.Integer.cs
Source:
AsnWriter.Integer.cs
Source:
AsnWriter.Integer.cs

중요

이 API는 CLS 규격이 아닙니다.

지정된 태그가 있는 정수 값을 씁니다.

[System.CLSCompliant(false)]
public void WriteInteger (ulong value, System.Formats.Asn1.Asn1Tag? tag = default);
[<System.CLSCompliant(false)>]
member this.WriteInteger : uint64 * Nullable<System.Formats.Asn1.Asn1Tag> -> unit
Public Sub WriteInteger (value As ULong, Optional tag As Nullable(Of Asn1Tag) = Nothing)

매개 변수

value
UInt64

작성할 값입니다.

tag
Nullable<Asn1Tag>

쓸 태그이거나, 기본 태그(유니버설 2)인 경우 null입니다.

특성

예외

tag.TagClassUniversal이지만 tagTagValue 가 메서드에 대해 올바르지 않습니다.

적용 대상