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