Given a 6 byte array from a specific TLV tag:
unsigned char bytes[] = { 0x00, 0x00, 0x00, 0x01, 0x23, 0x45 };
NSData * data = [NSData dataWithBytes:bytes length:6];
How could one convert it to the decimal number with value of:
12345
I tried finding something that is already implemented in Foundation, but with no luck.