This provides glibc, NetBSD, FreeBSD compatible endian.h header with a lean and simple API to convert between host byte order to little endian and big endian and the other way around.