I am putting a long value in a byte array in my Java Code. This(byte array) will be transmitted to the native side code(C++). In this C++ code, I have to reconstruct the long value sent from Java.
How can I access the byte array and all the bytes in it and get the long value back ? please help.