@Override
  public long skip(long byteCount) {
    Preconditions.checkArgument(byteCount >= 0);
    int skipped = Math.min((int) byteCount, available());
    mOffset += skipped;
    return skipped;
  }
Skips byteCount (or however many bytes are available) bytes in the stream

@param byteCount number of bytes to skip
@return number of bytes actually skipped
fbcore/src/main/java/com/facebook/common/memory/PooledByteBufferInputStream.java