Methods Summary |
---|
public static int | getAlignment()Returns the byte alignment for integers. For example on win32, an int
can be aligned to any byte in memory, so the return value would be 1.
Return value for solaris is 4.
return 4;
|
public static int | getArch()
return SOLARIS | UNIX | SPARC;
|
public static boolean | isBigEndian()Returns true if the byte ordering is big endian
return true;
|
public static boolean | isLittleEndian()Returns true if the byte ordering is little endian.
return false;
|