The exclusive promotional activities on JCOP J3H145 card and Feitian R301 Smartcard Reader are in full swing. Please check this page for details.

the difference between Util.arrayCopy and Util.arrayCopyNonAtomic

Applets Development Guide

Moderator: product

whitexiao
Posts: 18
Joined: Wed Sep 09, 2015 8:45 am
Points :96
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: 269
Joined: Thu Apr 30, 2015 12:00 pm
Points :2345
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 2 guests

JavaCard OS : Disclaimer