How to return a java buffer (w/ arbitrary size) from C++?

后端 未结 0 512
感情败类
感情败类 2021-01-31 03:51

I\'ve found return byte array in jni android? which has a simple example:

JNIEXPORT jbyteArray JNICALL Java_Test_returnArray
  (JNIEnv *env, jobject This)
{
              


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题