Not simple, converting long long from a char[8]
===

I got an array of char with 8 positions(char data[8];), this array has an unsigned long long int value on it (8 bytes of size)... data[0] has the first byte of the long long int, data[1] has the second and so on.
My question is how to put that value again on an unsigned long long variable?


I've tried shifts but the value wasn't equal de original value, how can i do this without changing the original array...


Thank you for your patience.