DecoderFallbackException.Index
Property
Definition
Gets the index position in the input byte sequence of the byte that caused the exception.
public int Index { get; }
Property Value
The index position in the input byte array of the byte that cannot be decoded. The index position is zero-based.
Remarks
The application uses the BytesUnknown property to retrieve the input byte array that contains the byte that cannot be decoded.