如何轉(zhuǎn)換此 C(數(shù)組)類型:char my_buf[BUF_SIZE];到這個 Go(數(shù)組)類型:type buffer [C.BUF_SIZE]byte? 嘗試進行接口轉(zhuǎn)換給了我這個錯誤:cannot convert (*_Cvar_my_buf) (type [1024]C.char) to type [1024]byte
- 2 回答
- 0 關(guān)注
- 204 瀏覽
添加回答
舉報
0/150
提交
取消