I have 8 bytes expressed as integer values stored in a list.
They correspond to a 64-bit counter with the lowest significant byte at first position.
Here is an example what I am doing:
byteIntegers = {123, 12, 0, 169, 255, 20, 67, 199};
counter=Total[Table[byteIntegers[[i]]*256^(i - 1), {i, 1, 8}]]
14358343125271841915
How would you calculate this value?