TryParse Method
TryParse(ReadOnlySpan<byte>, out TlvObject?)
Parse a Tlv from a BER-TLV encoded byte array.
C#
public static bool TryParse(ReadOnlySpan<byte> data, out TlvObject? tlvObject)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<byte> | data | A byte array containing the TLV encoded data (and nothing more). |
TlvObject | tlvObject |
Returns
bool
The parsed Tlv