confused with the API methods
Posted: Mon Jun 13, 2016 3:57 am
I am a little confused with the methods receiveBytes(short bOff) and sendBytesLong(byte[] outData, short bOff, short len).
1. receiveBytes(short bOff)
For this method, is it used to receive data and put it into APDU buffer, starting at the offset bOff?
2.sendBytesLong(byte[] outData, short bOff, short len)
Why does this method send data directly from the array "outData"? Don't you need to copy it into APDU buffer firstly?
Thanks
1. receiveBytes(short bOff)
For this method, is it used to receive data and put it into APDU buffer, starting at the offset bOff?
2.sendBytesLong(byte[] outData, short bOff, short len)
Why does this method send data directly from the array "outData"? Don't you need to copy it into APDU buffer firstly?
Thanks