add big endianto host endian and little endian to host endian APIs