#include "swap.h" /* Swap the bytes of a buffer for endianness insensitivity */ void swapArray(unsigned int *p,int len) { unsigned int *q = p + len; while(p> (8*1)) | ((*p & 0xff000000) >> (8*3)); p++; } }