I am facing a issue in which I need to convert a byte array of roughly the size in range of 20 – 28 bytes into a printable number string. In Java I am able to do it easily using BigInteger Class. In Objective C, the biggest type is Long Long Int which is only 64 bits. Please guide me the approach to solve the problem. I am not good in C language but some examples will be highly helpful. I must admit, I would be in the same problem in Java if the BigInteger Class was not there in Java as well.
Share
Check this source:
http://www.santsys.com/code/display?folder=Objective-C&file=BigInt.h
EDIT:
Check the BitInt class, a big integer implementation in Objective-C, so you do not need to use C to solve your problem, and it’s methods are similar to that of Java.