blob: ca7aad935ff180a1103fd1ab178587e882835f43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* ISC license. */
#include <string.h>
#include <skalibs/uint64.h>
void uint64_unpack (char const *s, uint64_t *u)
{
uint64_t x ;
memcpy(&x, s, sizeof(uint64_t)) ;
*u = uint64_little(x) ;
}
|