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 1;
|
public static int | getArch()
return SOLARIS | UNIX | X86;
|
public static boolean | isBigEndian()Returns true if the byte ordering is big endian
return false;
|
public static boolean | isLittleEndian()Returns true if the byte ordering is little endian.
return true;
|