@ Override public long skip ( long n ) throws IOException { byte [ ] buf = new byte [ ( int ) Math . min ( n , 64 * 1024 ) ] ; return read ( buf , 0 , buf . length ) ; }
To record the bytes we ve skipped convert the call to read .