IBM Developer

Article

How to write endian-independent code in C

Don't let endianness "byte" you

By Harsha Adiga