public int skipBytes(int n) throws IOException {
        if (n <= 0) {
            return 0;
        }
        return (int)skip(n);
    }
Attempts to skip over <code>n</code> bytes of input discarding the
skipped bytes.
<p>

This method may skip over some smaller number of bytes, possibly zero.
This may result from any of a number of conditions; reaching end of
stream before <code>n</code> bytes have been skipped is only one
possibility. This method never throws an <code>EOFException</code>.
The actual number of bytes skipped is returned.  If <code>n</code>
is negative, no bytes are skipped.

@param      n   the number of bytes to be skipped.
@return     the actual number of bytes skipped.
@exception  IOException  if an I/O error occurs.
plugins/svg-plugin/batik-codec-fix/src/main/java/org/apache/batik/ext/awt/image/codec/util/SeekableStream.java