code: @Override
  	public long skip(long n) throws IOException
      {
          if (n<=0)
              return 0;
          
          // How much can we skip ?
          long skippable = size - pos;
          if (skippable <= 0)
              return super.skip(n);
          
          long skipped = (skippable >= n) ? n : skippable;
          pos += skipped;
          return skipped;
      }
docs: /*
  (non-Javadoc)
  @see java.io.FilterInputStream#skip(long)