JNA char * out 回传的JAVA

char *Out是要输出的数据,传到JAVA层,请问如何实现呢?目前我试了byte[ ] 、
ByteByReference[ ] 还是无法拿到回来的数据,故前来求助!

那你看看github里面关于每种类型的一些demo吧https://github.com/java-native-access/jna/tree/master/test/com/sun/jna

必须先使用pointer接受,

使用string就可以,java中string对应c/c++中的char*