I really want to know if the array is in big-endian order (I don't care whether it's native). This is for sending arrays to the ds9 image viewer via xpa (and communicating with ds9 is not easy). To do this reliably I need to indicate the byte order of the data.
Thanks for the clarification and the original question. By the way, are you aware of the numpy.numarray module
numpy.numarray.isBigEndian works as expected.