Dustin Lang writes:
 > 
 > Hi,
 > 
 > > Can someone help me clarify the following:
 > > 
 > > Java is Big-Endian, correct?
 > > Intel Linux is Little-Endian, correct?
 > 
 > Corrrect me if I'm wrong, but here's my understanding of the endianness:
 > 1. the java classes (such as DataInputStream) do things big-endianedly
 > 2. the jvm is responsible for hiding the endianness of the platform
 > 3. as a result of (2) there is nothing a 100% java app can do to determine
 > the endianness of the platform it's being run on.

You're right -- this actually causes problems in some code that needs to emit
endian-correct ints to data streams.  

Steve



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to