JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
I have a question about API getAvailableMemory
I have a question about API getAvailableMemory
Hello,
I have a question about API getAvailableMemory in JC304.
The API has three parameters: a short array, offset and memoryType. The short array is used to store 32 bits number. My question is: the 32 bits number is an unsigned number? And how to calculate the total memory? total memory = array[0]*array[1] or total memory = array[0]*32767 + array[1] ?
I have a question about API getAvailableMemory in JC304.
The API has three parameters: a short array, offset and memoryType. The short array is used to store 32 bits number. My question is: the 32 bits number is an unsigned number? And how to calculate the total memory? total memory = array[0]*array[1] or total memory = array[0]*32767 + array[1] ?
Re: I have a question about API getAvailableMemory
First, in Java, there is no unsigned number. So it must be a signed number.
Second, array indicates a big number. conjecture according to general carry, it should be total memory = array[0]*32767 + array[1].
Second, array indicates a big number. conjecture according to general carry, it should be total memory = array[0]*32767 + array[1].
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 13 guests