@HiveDecimalVersionV2
  public static HiveDecimal serializationUtilsRead(
      InputStream inputStream, int scale,
      byte[] scratchBytes)
      throws IOException {
    HiveDecimal result = new HiveDecimal();
    if (!result.fastSerializationUtilsRead(
        inputStream, scale,
        scratchBytes)) {
      return null;
    }
    return result;
  }
Deserialize data written in the format used by the SerializationUtils methods
readBigInteger/writeBigInteger and create a decimal using the supplied scale.
<p>
ORC uses those SerializationUtils methods for its serialization.
<p>
A scratch bytes array is necessary to do the binary to decimal conversion for better
performance.  Pass a SCRATCH_BUFFER_LEN_SERIALIZATION_UTILS_READ byte array for scratchBytes.
<p>
@return The deserialized decimal or null if the conversion failed.
storage-api/src/java/org/apache/hadoop/hive/common/type/HiveDecimal.java