How can we convert the following 64-bit binary to a long equivalent;
01111101 10100011 01001111 11111111 11111111 11111111 11111111 11000000
equals 7D A3 4F FF FF FF FF C0 HEX
equals 9053167636875050944 << this is the value we want in a C# variable
EDIT: A large binary number is currently stored as a string. So this is the string for the long conversion I'm looking for.
source
share