1つのAPDUを送信したいのですが、応答が返されます。比較をログに記録するAPIで最後の2バイトをチェックしたいと思います。
byte[] response = Transmit(apdu);
//response here comes will be 0x00 0x01 0x02 0x03 0x04
//response.Length will be 5
byte[] expectedResponse = { 0x03, 0x04 };
int index = (response.Length)-2;
Log.CheckLastTwoBytes(response[index],expectedResponse);
//The declaration of CheckLastTwoBytes is
//public static void CheckLastTwoBytes(byte[] Response, byte[] ExpResp)
これは無効な引数のエラーです。最後の2バイトをAPIに渡すにはどうすればよいですか?