Microsoft SDK for Java

skipToAlignment

This method of the OffsetInputStreamFilter Class skips bytes in the input stream until the byte offset is a multiple of the alignment.

Syntax

public synchronized long skipToAlignment(int align) throws IOException;

Return Value

Returns the actual number of bytes skipped.

Parameters

align The alignment.

Exceptions

IOException if an I/O error occurs.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.