Excited to tell you that our welfare activity has been upgraded - Paying only $5.00 + Freight to get JCOP J3H145 card and A40CR card.
Please check this post for more details.

the difference between Util.arrayCopy and Util.arrayCopyNonAtomic

Applets Development Guide

Moderator: product

whitexiao
Posts: 16
Joined: Wed Sep 09, 2015 8:45 am
Points :80
Contact:

the difference between Util.arrayCopy and Util.arrayCopyNonAtomic

Post by whitexiao » Mon Feb 19, 2018 7:32 am

What's the difference between Util.arrayCopy and Util.arrayCopyNonAtomic? can someone tell me?


User avatar
JavaCardOS
Posts: 263
Joined: Thu Apr 30, 2015 12:00 pm
Points :2297
Contact:

Re: the difference between Util.arrayCopy and Util.arrayCopyNonAtomic

Post by JavaCardOS » Thu Feb 22, 2018 11:17 am

The Javacard API Specification contains specific usage of each function . The JavacardOS also has online specifications that can be read . such as the Class of Util, you can view https://javacardos.com/wiki/javacard/java-card-api/util

Ponele
Posts: 13
Joined: Fri Oct 20, 2017 3:02 am
Points :308
Contact:

Re: the difference between Util.arrayCopy and Util.arrayCopyNonAtomic

Post by Ponele » Mon Feb 26, 2018 11:25 pm

I think Util.arrayCopy is equal to following the code

Code: Select all

    JCSystem.beginTransaction();
    Util.arrayCopyNonAtomic()
   JCSystem.commitTransaction();

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 0 guests

JavaCard OS : Disclaimer