returning byte array in JNI
843829Feb 24 2004 — edited Feb 27 2004Hi,
I am trying to return an array of byte from JNI to java. I read the tutorial but i still find it hard to understand.
BYTE *encoded is the variable that has the contents to be sent back to java.
jbytearray jb=encoded;
ret jb;
This does not seem to reurn anything!! Please help