Hi
I have a program that use DatagramPacket. I receive message from the server and I want to interpretes the result in a byte array. But the problem is that the byte is signed.
ex : I have -61 in byteArray[16] but the true result is 195.
How can I convert signed byte to unsigned?
Thanks
Phil
I have a program that use DatagramPacket. I receive message from the server and I want to interpretes the result in a byte array. But the problem is that the byte is signed.
ex : I have -61 in byteArray[16] but the true result is 195.
How can I convert signed byte to unsigned?
Thanks
Phil