AsnWriter.EncodedValueEquals 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
EncodedValueEquals(AsnWriter) |
Determines if Encode() would produce an output identical to |
EncodedValueEquals(ReadOnlySpan<Byte>) |
Determines if Encode() would produce an output identical to |
EncodedValueEquals(AsnWriter)
- Source:
- AsnWriter.cs
- Source:
- AsnWriter.cs
- Source:
- AsnWriter.cs
- Source:
- AsnWriter.cs
- Source:
- AsnWriter.cs
Determines if Encode() would produce an output identical to other
.
public:
bool EncodedValueEquals(System::Formats::Asn1::AsnWriter ^ other);
public bool EncodedValueEquals (System.Formats.Asn1.AsnWriter other);
member this.EncodedValueEquals : System.Formats.Asn1.AsnWriter -> bool
Public Function EncodedValueEquals (other As AsnWriter) As Boolean
Parameters
- other
- AsnWriter
The instance to compare encoded values against.
Returns
true
if the pending encoded data is identical to other
, false
otherwise.
Exceptions
other
is null
.
A PushSequence(Nullable<Asn1Tag>) or PushSetOf(Nullable<Asn1Tag>) has not been closed via PopSequence(Nullable<Asn1Tag>) or PopSetOf(Nullable<Asn1Tag>).
Applies to
EncodedValueEquals(ReadOnlySpan<Byte>)
- Source:
- AsnWriter.cs
- Source:
- AsnWriter.cs
- Source:
- AsnWriter.cs
- Source:
- AsnWriter.cs
- Source:
- AsnWriter.cs
Determines if Encode() would produce an output identical to other
.
public:
bool EncodedValueEquals(ReadOnlySpan<System::Byte> other);
public bool EncodedValueEquals (ReadOnlySpan<byte> other);
member this.EncodedValueEquals : ReadOnlySpan<byte> -> bool
Public Function EncodedValueEquals (other As ReadOnlySpan(Of Byte)) As Boolean
Parameters
- other
- ReadOnlySpan<Byte>
The encoded value to compare against.
Returns
true
if the pending encoded data is identical to other
, false
otherwise.
Exceptions
A PushSequence(Nullable<Asn1Tag>) or PushSetOf(Nullable<Asn1Tag>) has not been closed via PopSequence(Nullable<Asn1Tag>) or PopSetOf(Nullable<Asn1Tag>).