Lightweight endianness library for D