When I use Java
to convert a special string to byte[], its result is:
78
-19
-71
-54
-61
-87
12
-99
and when I use objective-c
to convert the same string, its result is:
78
237
185
202
195
169
12
157
Why the byte element is greater than 128
in objective-c
? I know the reason is about unsigned
, but how to resolve it?