Home > Back-end >  How to convert a Java byte array, is vc under the string
How to convert a Java byte array, is vc under the string

Time:10-20

Java byte array is as follows:
[32, 111, 124, 123, 28, 74, 84, 14, 96, 84, 57, 13, 84, 112, 123, 73, 0, 0, 0, 0, 5, 32, 73, 3]

Java byte is 127 ~ 128, in c + + is 0 ~ 256, how to under the Java byte array into the byte data under the c + +, and then under the converted to the c + + string!

CodePudding user response:

Under the c + + can be directly convert (byte),

CodePudding user response:

Char
unsigned char

CodePudding user response:

Char type or byte type
  • Related