Problem when using jbyteArray (C++) and byte array (Java)
I need to use a byte array, created in C++ part, as an argument of a Java function.
In C++ part, I create my jbyteArray and pass it as argument :
Then in Java part I try to use my byte array but it dosen't work :
So I try to print values of my byte array in C++ and Java part :
I don't understand why I get this value in the Java part.
If someone has any idea.