samer@0: function f=isbigendian samer@0: import java.nio.ByteOrder; samer@0: f=(ByteOrder.nativeOrder==ByteOrder.BIG_ENDIAN); samer@0: end