4 #include "tiny_xdr.hpp"
8 uint32_t ui32 = 0x01234567;
9 uint64_t ui64 = 0x0123456789ABCDEFLL;
11 printf("UI32: (normal) %x\nUI32: (swapped) %x\n\n", ui32, bswap_32(ui32) );
12 printf("UI64: (normal) %llx\nUI64: (swapped) %llx\n\n", ui64, bswap_64(ui64) );