AsnDecoder.TryDecodeLength 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
參數
- source
- ReadOnlySpan<Byte>
- ruleSet
- AsnEncodingRules
- bytesConsumed
- Int32