这是我的 C 方法:
unsigned char *pixel = GetTheCamPixel();
//Do something to convert it to string
//Send this string to a java client
在我的 Java 客户端收到字符串后,我想将其转换回 Javaunsigned char
数组:
String sReceive = this.receiveFromC();
//Do something to make a unsigned char array
我怎样才能做到这一点?