public long skip ( long n ) throws IOException { synchronized ( lock ) { ensureOpen ( ) ; long avail = count - pos ; if ( n > avail ) { n = avail ; } if ( n < 0 ) { return 0 ; } pos += n ; return n ; } }
Skips characters . Returns the number of characters that were skipped .