Why does write() not accept a pointer from a JNI ByteBuffer?

后端 未结 0 1629
说谎
说谎 2021-02-05 02:47

I\'m writing a JNI function that takes a ByteBuffer as parameter and writes some of its content to a (special) file under Linux. The code looks like this:

/*
 * C         


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