uint64_pack_big.c (173B)
1 /* ISC license. */ 2 3 #include <string.h> 4 5 #include <skalibs/uint64.h> 6 7 void uint64_pack_big (char *s, uint64_t u) 8 { 9 uint64_bigp(&u) ; 10 memcpy(s, &u, sizeof(uint64_t)) ; 11 }
skalibsMirror/fork of https://skarnet.org/software/skalibs/ | |
git clone https://ccx.te2000.cz/git/skalibs | |
Log | Files | Refs | README | LICENSE |