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