blob: e861e7e7385028e6a8c868db3cbe229f61f0bcd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* ISC license. */
#include <stdint.h>
#include <string.h>
#include <skalibs/uint32.h>
void uint32_pack_big (char *s, uint32_t u)
{
u = uint32_big(u) ;
memcpy(s, &u, sizeof(uint32_t)) ;
}
|