public static String getValueAsString(Tag tag) {
    if (tag.hasArray()) {
      return Bytes.toString(tag.getValueArray(), tag.getValueOffset(), tag.getValueLength());
    }
    return Bytes.toString(cloneValue(tag));
  }
Converts the value bytes of the given tag into a String value
@param tag The Tag
@return value as String
hbase-common/src/main/java/org/apache/hadoop/hbase/Tag.java