Page 1 of 1

the difference between Util.arrayCopy and Util.arrayCopyNonAtomic

Posted: Mon Feb 19, 2018 7:32 am
by whitexiao
What's the difference between Util.arrayCopy and Util.arrayCopyNonAtomic? can someone tell me?

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

Posted: Wed Feb 21, 2018 2:38 am
by glassMan
Perhaps you can refer to this topic:
https://javacardos.com/javacardforum/vi ... p?f=15&t=5

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

Posted: Thu Feb 22, 2018 11:17 am
by JavaCardOS
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

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

Posted: Mon Feb 26, 2018 11:25 pm
by Ponele
I think Util.arrayCopy is equal to following the code

Code: Select all

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