Closed Cyberhan123 closed 1 year ago
Please review the docs for RegisterFunc
. A uint8_t *
would be *uint8
or *byte
. You can then make it a slice if you know the size using unsafe.Slice(data, dataSize)
Closing as this is not an issue. Future questions can be directed to the Discord.
Thanks for your help.
The C code is
How to receive
uint8_t *
in golangBy the way, it is actually a picture. I feel that the mapping in golang is
[]byte