/* ISC license. */ #include #include #include void uint32_pack (char *s, uint32_t u) { u = uint32_little(u) ; memcpy(s, &u, sizeof(uint32_t)) ; }