Aligns the write cursor to the beginning of the next {@code byte}. If the write cursor is in the middle of a byte, moves the cursor to the start of next byte. If the cursor is already at the start of a byte, {@link #alignRead()} does nothing and returns {@code zero}.
@return The number of {@code bits} skipped to traverse to the startingbit of the next {@code byte}. If the read cursor is already at the starting bit of a {@code byte}, returns {@code zero}.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.