Using C++, an int gets converted from "signed" to "unsigned".
Can I convert this "unsigned" int back to "signed" using Java.
Signed value (-3) converted in to unsigned (65533) using C++.
How can i convert unsigned (65533) value back to signed (-3) using Java
Thanks in advance.
Prav
If I understand the question correctly, you have some value like
and you want it to be treated as a signed 16-bit integer, for which the solution is really, really simple: