JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
In java card, how to convert byte to short?
In java card, how to convert byte to short?
There are only small kinds of data types in java card. Now I am trying to convert data stored in a single byte type to short type. Ho can I do this? Is this the same as Java language?
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
- Contact:
Re: In java card, how to convert byte to short?
Code from one opensource project:
Code: Select all
short ss = Util.makeShort((byte)0x00, (byte)bb);
sense and simplicity
Who is online
Users browsing this forum: No registered users and 30 guests