J
JVSFugitive
Interesting problem to solve here:
I have an ASCII representation of an integer such as "FF". It is stored
in my Java app as array byte[2] = { 70, 70 };
The question is how would I convert that to it's integer equivalent
which would be in this case equal to 255.
i.e. FF = 1111 1111 binary = 255 decimal
"FF" as ascii representation = { 70, 70 };
Thanks
I have an ASCII representation of an integer such as "FF". It is stored
in my Java app as array byte[2] = { 70, 70 };
The question is how would I convert that to it's integer equivalent
which would be in this case equal to 255.
i.e. FF = 1111 1111 binary = 255 decimal
"FF" as ascii representation = { 70, 70 };
Thanks