2023-01-20 314
我需要从Java致电C函数.
该函数具有以下API:
void convert(char* pchInput, int inputSize, int convertValue, char* pchOutput, int* outputSize);
我正在使用swig来制作包装纸.
我阅读了帖子:
bytebuffer.alloce.allocate()vs. bytebuffer.allocatedirect()
,最好创建结果(pchOutput)为DirectByteBuffer.
谢谢
http://swig.10945.n7.nabble.com/re-how-to-specify-cecy-access-access-to-a-java-a-java-nio-bytebuffer-td6696.html
以上所述是小编给大家介绍的如何使用swig定义和传递bytebuffer?,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对77isp云服务器技术网的支持!原文链接:https://77isp.com/post/26057.html
=========================================
https://77isp.com/ 为 “云服务器技术网” 唯一官方服务平台,请勿相信其他任何渠道。
数据库技术 2022-03-28
网站技术 2022-11-26
网站技术 2023-01-07
网站技术 2022-11-17
Windows相关 2022-02-23
网站技术 2023-01-14
Windows相关 2022-02-16
Windows相关 2022-02-16
Linux相关 2022-02-27
数据库技术 2022-02-20
抠敌 2023年10月23日
嚼餐 2023年10月23日
男忌 2023年10月22日
瓮仆 2023年10月22日
簿偌 2023年10月22日
扫码二维码
获取最新动态