Does anyone have a piece of code or a class that takes a long time and turns it into a 16-byte hexadecimal string?
I am looking for data like this
long long decimalRepresentation = 1719886131591410351;
and turn it into this
The% x operator does not want to work for me
NSLog(@"Hex: %x",decimalRepresentation);
//console : "Hex: 7a072af"
As you can see, this is not even close. Any help really appreciated!
source
share