Document endian conversion functions