This avoids having to set a define indicating the endianness. This doesn't incur any significant measurable slowdown.