#include "uint16.h" __inline void u16_pack(char s[2],u16 u) { s[0] = u & 255; s[1] = u >> 8; } __inline void u16_pack_big(char s[2],u16 u) { s[1] = u & 255; s[0] = u >> 8; }