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.

overhead of creating byte arrays

JavaCard Applet Development Related Questions and Answers.
potku2016
Posts: 7
Joined: Tue Sep 06, 2016 2:58 am
Points :78
Contact:

overhead of creating byte arrays

Post by potku2016 » Sat Oct 08, 2016 11:45 pm

I need to create about 300 byte arrays ( new byte {... } ) in my applet. But somebody told me that I should not create that much arrays since there will be overhead of about 4 bytes, associated with per array. Can anybody help me confirm this? thanks

popmun09
Posts: 36
Joined: Tue Feb 16, 2016 9:49 pm
Points :230
Contact:

Re: overhead of creating byte arrays

Post by popmun09 » Sun Oct 09, 2016 3:59 am

There indeed would be an overhead for the array itself.

And this overhead information may be only known by the javacard OS manufacturer, I suspect.

corleoner
Posts: 15
Joined: Fri Dec 11, 2015 2:22 am
Points :92
Contact:

Re: overhead of creating byte arrays

Post by corleoner » Mon Oct 10, 2016 3:54 am

I have seen some platforms that have a 7 bytes overhead for objects.

It's not specified. It really depends on the platform.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 45 guests

JavaCard OS : Disclaimer