I have an integer, for which I would like to interpret as an overflow value of the first 2 bytes
I tried
However, the value seems too small to be true!!
What is the correct way of doing this?
I tried
Code:
int myInt= 99999999999999999999999999999999999;
int first2Byte = myInt & 0xFFFF;
System.out.println (first2Byte);
However, the value seems too small to be true!!
What is the correct way of doing this?