Hi Agraham,
Hats off to your wonderful ByteConverter Library. It made my coding very simple reading from a bluetooth RFID card reader.
The Hex Output from the lib is "AAFF40000C36F375" .
It should be converted to string with the value of "0000800499" which is the actual value
from the card.
I tried using all the methods but invain.
Which method of the lib would do so?
Please advice!
In Dotnet the following code does the job
private void condec(string hd )
{
String hexString = hd;
hexString = hexString.Replace(" ", "");
hexString = hexString.Substring(6, 8);
String result = "" + Convert.ToInt64(hexString, 16);
while (result.Length < 10)
result = "0" + result;
MessageBox.Show( result);
}
what is the equivalent of Convert.ToInt64(hexString, 16) ?
Thank You.
Maria.