rename endian trans func