It's not possible, char* doesn't come with any information about the size of the buffer it's pointing to. If I want to return char array to java, what should I do? at common jni use ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results