G
Gilbert Ostlethwaite
Hi
I need to bit-twiddle using a = b & mask where a and b are integers,
but mask holds my masking information eg 0xFF as a string. Obviously
this isn't working, but I can't find how to convert my string
containing 0xFF into an integer - Integer.parseInt(mask) throws a
NumberFormatException.
Regards
I need to bit-twiddle using a = b & mask where a and b are integers,
but mask holds my masking information eg 0xFF as a string. Obviously
this isn't working, but I can't find how to convert my string
containing 0xFF into an integer - Integer.parseInt(mask) throws a
NumberFormatException.
Regards