Rename function endian to reverse