Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

BIG / LITTLE ENDIAN

  Asked By: Madeline    Date: Sep 10    Category: Java    Views: 649
  

In jAVA , how do i know whether my machine is a BIG/LITTLE ENDIAN ?

Like in C lang. we can know this by calling gethostsex function in your
program ..

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Samuel Costa     Answered On: Sep 10

In the java.nio.ByteOrder class there is a method called nativeOrder()

java.sun.com/.../ByteOrder.html

 
Didn't find what you were looking for? Find more on BIG / LITTLE ENDIAN Or get search suggestion and latest updates.




Tagged: