public static int getIntStringLength(String value) {
    return value == null ? Integer.BYTES : Integer.BYTES + value.length();
  }
Gets the size of the string in serialized form
@param value the string of interest to be serialized
@return the size of the string in serialized form
ambry-utils/src/main/java/com/github/ambry/utils/Utils.java