On 08.07.2012 21:39, Bernd K. wrote: > *((int64_t*)&data[8]) are bytes 8..17 of that buffer as int64 typo: *((int64_t*)&data[8]) are bytes 8..15 of that buffer as int64