Code example for BufferedInputStream

Methods: skip

     * @throws IOException 
     *             if this stream is closed or another IOException occurs. 
    public synchronized long skip(long byteCount) throws IOException
        return bis.skip(byteCount);
     * Resets this stream to the last marked location. 
     * @throws IOException 
     *             if this stream is closed, no mark has been set or the mark is 
     *             no longer valid because more than {@code readlimit} bytes 
     *             have been read since setting the mark. 
     * @see #mark(int) 
    public synchronized void reset() throws IOException