On Mon, Dec 16, 2019 at 8:51 PM wrote:
>
> I am using CGO to call a .so library written by C, and it has a param
> unsigned char *result_buffer
>
> I use a C.uchar to receive its result, but how to convert it a Go string?
You should receive the result in a *C.uchar. You can get a Go string
by
I am using CGO to call a .so library written by C, and it has a param
unsigned char *result_buffer
I use a C.uchar to receive its result, but how to convert it a Go string?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from