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
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.