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 yourprogram ..
In the java.nio.ByteOrder class there is a method called nativeOrder()java.sun.com/.../ByteOrder.html