R
RVic
What does the operator:
^=
do?
I have it used in code I am working with as:
byte u = 0x00;
for(int i = 0; i < msg.length(); i++) {
// ASSUMES: ASCII
u ^= (byte)msg.charAt(i);
}
u ^= 0x03;
//thx
^=
do?
I have it used in code I am working with as:
byte u = 0x00;
for(int i = 0; i < msg.length(); i++) {
// ASSUMES: ASCII
u ^= (byte)msg.charAt(i);
}
u ^= 0x03;
//thx