How to get big number
Posted: Tue May 09, 2017 1:28 am
I would like to implement my own wallet applet. And I want to credit 1512 , so I sent APDU
when I use apdu.getBuffer(); to get this data, the value changes. 0xE8 is supposed to be 232, but because it supports unsigned nature, it shows a different value. What can I do to get 232 in short variable for 0xE8? Thanks for any reply.
Code: Select all
CLA INS P1 P2 lC DATA
80 50 00 00 02 05E8
when I use apdu.getBuffer(); to get this data, the value changes. 0xE8 is supposed to be 232, but because it supports unsigned nature, it shows a different value. What can I do to get 232 in short variable for 0xE8? Thanks for any reply.