Yes, if you will email me I'll send C or Basic code to do this.
Endian is an expression comming from the difference between how data is actually stored in the RAM memory by the Intel uProcessor vs how the same data is stored by other type uProcessors, such as the Apple computer. The memory addressing by the Intel has the first byte holding the lower half of 16-bit interger value and the second byte holding the higher. Other processors reverse this order. Things get even more convaluted with larger data types.
Transfering data between devices such as streaming serial information directly from memory to an outboard device can require knowledge of the stored data format and correcting for the 'endian' difference.