Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

javacard byte array max length

JavaCard Applet Development Related Questions and Answers.
KevinAli
Posts: 24
Joined: Fri Aug 21, 2015 3:38 am
Points :104
Contact:

javacard byte array max length

Post by KevinAli » Thu Nov 26, 2015 5:07 am

What is the maximum length when defining a byte array in java card?

In my 32k java card, I defined a byte array with length of 9*1024 and it returned 6A 84 error (6A 84 means "Not enough memory space in the file").
But when I define it with length of 8*1024, there is no error.

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

Re: javacard byte array max length

Post by UNKNwYSHSA » Thu Nov 26, 2015 11:30 am

Which method you used to allocate the byte array? "new" statement or makeTransientXXXXArray()?
What's the size of COR/COD/NVM size when you allocate the byte array?
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 67 guests

JavaCard OS : Disclaimer