C bits manapulation

Align to 4 byte boundary:
Length = (Length + 3) & 0xFFFFFFFC;
Get reminder bytes (4 - (length % 4))
Length = -Length & 0x3;