@Override
  public int getTagsOffset() {
    int tagsLen = getTagsLength();
    if (tagsLen == 0) {
      return this.offset + this.length;
    }
    return this.offset + this.length - tagsLen;
  }
Return the offset where the tag data starts.
hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java