Truncates the data block of this response APDU at the given size.
Namespace:
CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Public Sub TruncateData( _
ByVal nLr As Integer _
)
This language is not supported or no code example is available.
Parameters
- nLr
-
Type: int
Maximum length of response data to truncate at. This must not be negative and must not be larger than MAXEXTENDEDLR = 65536. If this is zero, then any existing data field will be deleted. If this is larger than the current size of the data field, then this method does nothing. Otherwise the first nLr bytes of the data field are copied into a new array that becomes the new data field of this response APDU.
Exception type | Condition |
---|---|
Thrown when one or more arguments are outside the required range. |
Marc, 9/29/2022.