Microsoft SDK for Java

OffsetInputStreamFilter Class Methods

The OffsetInputStreamFilter Class contains the following methods:

getOffset retrieves the current byte offset into the input stream.
mark marks the current position in the input stream.
read reads a single byte from the input stream.
reset resets the byte offset of the input stream to the last marked position.
skip skips a number of bytes in the input stream and updates the byte offset to reflect the new position in the stream.
skipToAlignment skips bytes in the input stream until the byte offset is a multiple of the alignment.

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