Converting a singned decimal to a hexed String ?
Hi...
what i'm trying to do is to convert a buffer[8] which is filled with signed decimal values to a String Hex represenation of it.... This is the code i'm doing ..
/CODE/
for(int i = 0; i < 8; i++)
{
String serialStr = "";
serialStr = serialStr.concat( Integer.toHexString(hashed_Output) );
}
/CODE/
Now the return value of serialStr is the rigth hex values of hashed_Output[] but i get each value as ffffffCf let's say instead of only Cf. I guess because the value i'm reading is signed. Do u have any idea how to read those signed values to a string as hex and only show Cf ?
Please let me know...

