added macros to get and put 16 bit big endian values