Parses a single primitive or constructed BER-TLV encoded data object from the given raw data.

Namespace: CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

Public Shared Function Parse( _ 
ByVal vbData As Byte() _ 
) As CardDataObject
This language is not supported or no code example is available.
public static CardDataObject Parse( 
byte[] vbData 
)
This language is not supported or no code example is available.
public:  
static CardDataObject^ Parse( 
array< Byte >^ vbData 
)
This language is not supported or no code example is available.
public static function Parse( 
vbData : byte[] 
) : CardDataObject;
This language is not supported or no code example is available.

Parameters

vbData
Type: byte[]

Provides the raw binary data to be parsed. Must not be null.

Return Value

Type: CardDataObject

Returns the parsed BER-TLV data object inside a newly created CardDataObject instance. All data is copied from the given vbData array into newly created arrays owned by the created CardDataObject instance.

If the data contains only empty filler bytes, then null is returned.

Marc, 9/29/2022.

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0