Re: Endianness of Java Virtual Machine



karthikbalaguru wrote:
Hi,
Is 'Java Virtual Machine' Big-Endian ?
Or
Is it independent of Endianness ? (That is Bi-Endian)

Can someone provide some link in the internet that discusses
more about this ?

Thx in advans,
Karthik Balaguru


Java is big-endian insofar as its Data{In,Out}putStream assumes big-endianness and the class file specification is big-endian. From most developers' standpoints, it is endian-agnostic.

--
Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth
.



Relevant Pages

  • Endianness of Java Virtual Machine
    ... Is 'Java Virtual Machine' Big-Endian? ... Is it independent of Endianness? ... (That is Bi-Endian) ... Can someone provide some link in the internet that discusses ...
    (comp.lang.java.programmer)
  • Re: MD5 algorithm
    ... Note the endianness of the 64 bit message length field, ... It also contains a few more Test Vectors than the Wikipedia article. ... So far I just padded my int[] ... words in normal big-endian order. ...
    (comp.lang.java.programmer)
  • Re: java virtual machine is big endin processor
    ... Andreas Leitgeb wrote: ... endian machine can run a program that reads in a number in big-endian ... To find out the actual endianness of a jvm, ... Its own code runs on the endianness of the underlying platform, ...
    (comp.lang.java.programmer)
  • Re: Coaching courses
    ... Depends if it is big-endian or little-endian surely? ... Well depending on your point of view, 100 is either both or neither. ... Endianness is norrnally byte order within a word, ...
    (rec.sport.rowing)
  • Re: Endianness of Java Virtual Machine
    ... Is 'Java Virtual Machine' Big-Endian? ... Is it independent of Endianness? ... platforms' native formats for `int' and so forth. ...
    (comp.lang.java.programmer)