AsnWriter.EncodedValueEquals 方法

定义

重载

EncodedValueEquals(AsnWriter)

确定 Encode() 是否生成与 other 相同的输出。Determines if Encode() would produce an output identical to other.

EncodedValueEquals(ReadOnlySpan<Byte>)

确定 Encode() 是否生成与 other 相同的输出。Determines if Encode() would produce an output identical to other.

EncodedValueEquals(AsnWriter)

确定 Encode() 是否生成与 other 相同的输出。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

参数

other
AsnWriter

编码值要比较的实例。The instance to compare encoded values against.

返回

Boolean

如果挂起的编码数据与 other 相同,则为 true;否则为 falsetrue if the pending encoded data is identical to other, false otherwise.

例外

othernullother is null.

适用于

EncodedValueEquals(ReadOnlySpan<Byte>)

确定 Encode() 是否生成与 other 相同的输出。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

参数

other
ReadOnlySpan<Byte>

要比较的编码值。The encoded value to compare against.

返回

Boolean

如果挂起的编码数据与 other 相同,则为 true;否则为 falsetrue if the pending encoded data is identical to other, false otherwise.

例外

适用于