Asn1Tag.Decode(ReadOnlySpan<Byte>, Int32) 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.
Reads a BER-encoded tag which starts at source
.
public:
static System::Formats::Asn1::Asn1Tag Decode(ReadOnlySpan<System::Byte> source, [Runtime::InteropServices::Out] int % bytesConsumed);
public static System.Formats.Asn1.Asn1Tag Decode (ReadOnlySpan<byte> source, out int bytesConsumed);
static member Decode : ReadOnlySpan<byte> * int -> System.Formats.Asn1.Asn1Tag
Public Shared Function Decode (source As ReadOnlySpan(Of Byte), ByRef bytesConsumed As Integer) As Asn1Tag
Parameters
- source
- ReadOnlySpan<Byte>
The read only byte sequence whose beginning is a BER-encoded tag.
- bytesConsumed
- Int32
When this method returns, contains the number of bytes that contributed to the encoded tag. This parameter is treated as uninitialized.
Returns
The decoded tag.
Exceptions
The provided data does not decode to a tag.
Applies to
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.