JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

Unsigned Short in java card

JavaCard Applet Development Related Questions and Answers.
leogen
Posts: 13
Joined: Wed Jan 06, 2016 2:45 am
Points :94
Contact:

Unsigned Short in java card

Post by leogen » Mon Jan 25, 2016 11:31 pm

Hi there!
Is there any equivalent of the C type unsigned short in java card? i.e. 16 bit size and ranging from 0-65535?

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3055
Contact:

Re: Unsigned Short in java card

Post by UNKNwYSHSA » Tue Jan 26, 2016 2:08 am

You can use int instead, and your card must support JCInt.
Or use short as value from 0x8000(-32767) to 0x7FFF(32767).
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: Bing [Bot] and 14 guests

JavaCard OS : Disclaimer