[Python-bugs-list] REQ: array module should provide "swap to native byte order" functionality, similar to struct module (PR#166)

Barry A. Warsaw bwarsaw@cnri.reston.va.us (Barry A. Warsaw)
Wed, 22 Dec 1999 11:59:07 -0500 (EST)

>>>>> "Fred" ==   <fdrake@acm.org> writes:

    Fred>   I agree, but I'd also like to see an indicator for the
    Fred> native byte order somewhere (like sys) as well.  (How
    Fred> possible would this be for JPython, Barry?)

Java's native format is bigendian, regardless of the system's
underlying endian-ness.  I'm not aware of any way of figuring out what
the system's endian-ness is.