Edit

Share via


AsnDecoder.TryDecodeLength Method

Definition

public:
 static bool TryDecodeLength(ReadOnlySpan<System::Byte> source, System::Formats::Asn1::AsnEncodingRules ruleSet, [Runtime::InteropServices::Out] Nullable<int> % decodedLength, [Runtime::InteropServices::Out] int % bytesConsumed);
public static bool TryDecodeLength (ReadOnlySpan<byte> source, System.Formats.Asn1.AsnEncodingRules ruleSet, out int? decodedLength, out int bytesConsumed);
static member TryDecodeLength : ReadOnlySpan<byte> * System.Formats.Asn1.AsnEncodingRules * Nullable * int -> bool
Public Shared Function TryDecodeLength (source As ReadOnlySpan(Of Byte), ruleSet As AsnEncodingRules, ByRef decodedLength As Nullable(Of Integer), ByRef bytesConsumed As Integer) As Boolean

Parameters

source
ReadOnlySpan<Byte>
decodedLength
Nullable<Int32>
bytesConsumed
Int32

Returns

Applies to