Christmas is coming soon! To thank for the support from all our dear customers, Christmas promotional activity is going on in JavaCardOS online store. For more activities details, please check this post.

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: 265
Joined: Thu Apr 30, 2015 12:00 pm
Points :2313
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 1 guest

JavaCard OS : Disclaimer