ltohs
#define ltohs(S) (*((ushort_t *)(&(S))))
#define ltohs(S) ((getbyte(S, 1) << 8) | getbyte(S, 0))