This method of the OffsetInputStreamFilter Class skips bytes in the input stream until the byte offset is a multiple of the alignment.
public synchronized long skipToAlignment(int align) throws IOException;
Returns the actual number of bytes skipped.
align | The alignment. |
IOException if an I/O error occurs.