visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java
public int getByteOrder(int kmachn) {
    if ((kmachn == MTVAX) || (kmachn == MTULTX) || (kmachn == MTALPH)
            || (kmachn == MTLNUX) || (kmachn == MTIGPH)) {
      return RandomAccessFile.LITTLE_ENDIAN;
    }
    return RandomAccessFile.BIG_ENDIAN;
  }
public int getByteOrder(int kmachn) {
    if ((kmachn == MTVAX) || (kmachn == MTULTX) || (kmachn == MTALPH)
            || (kmachn == MTLNUX) || (kmachn == MTIGPH)) {
      return RandomAccessFile.LITTLE_ENDIAN;
    }
    return RandomAccessFile.BIG_ENDIAN;
  }
public int getByteOrder ( int kmachn ) { if ( ( kmachn == MTVAX ) || ( kmachn == MTULTX ) || ( kmachn == MTALPH ) || ( kmachn == MTLNUX ) || ( kmachn == MTIGPH ) ) { return RandomAccessFile . LITTLE_ENDIAN ; } return RandomAccessFile . BIG_ENDIAN ; }
Get the byte order for the machine type.

@param kmachn maching type
@return byte order
Get the byte order for the machine type .