AsnWriter.WriteInteger Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WriteInteger(Int64, Nullable<Asn1Tag>) |
Write an Integer value with a specified tag. |
WriteInteger(BigInteger, Nullable<Asn1Tag>) |
Write an Integer value with a specified tag. |
WriteInteger(ReadOnlySpan<Byte>, Nullable<Asn1Tag>) |
Write an Integer value with a specified tag. |
WriteInteger(UInt64, Nullable<Asn1Tag>) |
Write an Integer value with a specified tag. |
WriteInteger(Int64, Nullable<Asn1Tag>)
- Source:
- AsnWriter.Integer.cs
- Source:
- AsnWriter.Integer.cs
- Source:
- AsnWriter.Integer.cs
- Source:
- AsnWriter.Integer.cs
- Source:
- AsnWriter.Integer.cs
Write an Integer value with a specified tag.
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)
Parameters
- value
- Int64
The value to write.
Exceptions
Applies to
WriteInteger(BigInteger, Nullable<Asn1Tag>)
- Source:
- AsnWriter.Integer.cs
- Source:
- AsnWriter.Integer.cs
- Source:
- AsnWriter.Integer.cs
- Source:
- AsnWriter.Integer.cs
- Source:
- AsnWriter.Integer.cs
Write an Integer value with a specified tag.
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)
Parameters
- value
- BigInteger
The value to write.
Exceptions
Applies to
WriteInteger(ReadOnlySpan<Byte>, Nullable<Asn1Tag>)
- Source:
- AsnWriter.Integer.cs
- Source:
- AsnWriter.Integer.cs
- Source:
- AsnWriter.Integer.cs
- Source:
- AsnWriter.Integer.cs
- Source:
- AsnWriter.Integer.cs
Write an Integer value with a specified tag.
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)
Parameters
- value
- ReadOnlySpan<Byte>
The integer value to write, in signed big-endian byte order.
Exceptions
the 9 most significant bits are all set. -or- the 9 most significant bits are all unset.
Applies to
WriteInteger(UInt64, Nullable<Asn1Tag>)
- Source:
- AsnWriter.Integer.cs
- Source:
- AsnWriter.Integer.cs
- Source:
- AsnWriter.Integer.cs
- Source:
- AsnWriter.Integer.cs
- Source:
- AsnWriter.Integer.cs
Important
This API is not CLS-compliant.
Write an Integer value with a specified tag.
[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)
Parameters
- value
- UInt64
The value to write.
- Attributes