/* ISC license. */ #include #include void uint64_pack (char *s, uint64_t u) { u = uint64_little(u) ; memcpy(s, &u, sizeof(uint64_t)) ; }