Microsoft SDK for Java

skip

This method of the OffsetInputStreamFilter Class skips a number of bytes in the input stream and updates the byte offset to reflect the new position in the stream.

Syntax

public synchronized long skip(long n) throws IOException;

Return Value

Returns the actual number of bytes skipped.

Parameters

n The number of bytes to skip.

Exceptions

IOException if an I/O error occurs.

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