| public
class DataAlign Data Align had one static method that returns the number of pad bytes required to align memory to a given memory model. 2 = 16 bit 4 = 32 bit 8 = 64 bit public static int getPadLength(int,int) memory size \ alignment boundy ie: int padBiteCount = DataAlign.getPadLength(15,4); // would be 17 |