|
|
| version 1.1.1.1, 2017/08/22 12:33:54 | version 1.1.1.2, 2021/03/17 19:50:23 |
|---|---|
| Line 45 get_u64(const void *p) | Line 45 get_u64(const void *p) |
| } | } |
| static inline void | static inline void |
| put_u8(void *p, u8 x) | |
| { | |
| memcpy(p, &x, 1); | |
| } | |
| static inline void | |
| put_u16(void *p, u16 x) | put_u16(void *p, u16 x) |
| { | { |
| x = htons(x); | x = htons(x); |