Hey there guys.
Let's say I have: int temp=0xcf4f3c09. And I do a temp>>24;
I then have 0x000000cf, but in java, instead of being 207, it's
-49, the two's complement of 207. How do I change it to 207?
Printable View
Hey there guys.
Let's say I have: int temp=0xcf4f3c09. And I do a temp>>24;
I then have 0x000000cf, but in java, instead of being 207, it's
-49, the two's complement of 207. How do I change it to 207?
Hi,
Just and the result with 255 i.e.
temp = temp & 255 and it should make it 207