On Sun, 31 Jan 1999, Leung Yau Wai wrote:
> Dear all,
>
> I would like to ask about a question. I am doing a JAVA program
> which should deal with system architeucture. I would like to ask a
> question how can I know the system is little endian or big endian?
Don't know if this helps, but I read in the Java Glossary
(http://mindprod.com/gloss.html):
"Java stores binary values internally and in files MSB (Most
Significant Byte) first, i.e. high order part first. This is
referred to as big-endian byte sex or sometimes network order."
Robert.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Robert P Biuk-Aghai, University of Macau, Faculty of Science and Technology
http://hyperg.sftw.umac.mo/robert/ tel: +853-3974365 fax: +853-838314
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Microsoft isn't the answer. Microsoft is the question and the answer is no.