public static boolean fastSetFromString(
      String string, boolean trimBlanks, FastHiveDecimal result) {
    byte[] bytes = string.getBytes(StandardCharsets.UTF_8);
    return fastSetFromBytes(bytes, 0, bytes.length, trimBlanks, result);
  }
Scan a String for a decimal number in UTF-8 characters.

NOTE: The fastSetFromString method requires the caller to pass a fastResult
parameter has been reset for better performance.

@param string the string to parse
@param trimBlanks should the blanks be trimmed
@param result an object to reuse
@return True if the String was successfully converted to a decimal.
storage-api/src/java/org/apache/hadoop/hive/common/type/FastHiveDecimalImpl.java