public int skip() {
    if (!hasNext()) {
      throw new NoSuchElementException();
    }
    DataType<?> t = types[idx++];
    if (src.getPosition() == src.getLength() && t.isNullable()) {
      return 0;
    }
    return t.skip(src);
  }
Bypass the next encoded value.
@return the number of bytes skipped.
hbase-common/src/main/java/org/apache/hadoop/hbase/types/StructIterator.java