@HiveDecimalVersionV2
  public boolean serializationUtilsWrite(
      OutputStream outputStream,
      long[] scratchLongs)
          throws IOException {
    return
        fastSerializationUtilsWrite(
            outputStream,
            scratchLongs);
  }
Serialize this decimal's BigInteger equivalent unscaled value using the format that the
SerializationUtils methods readBigInteger/writeBigInteger use.
<p>
ORC uses those SerializationUtils methods for its serialization.
<p>
Scratch objects necessary to do the decimal to binary conversion without actually creating a
BigInteger object are passed for better performance.
<p>
Allocate scratchLongs with SCRATCH_LONGS_LEN longs.
storage-api/src/java/org/apache/hadoop/hive/common/type/HiveDecimal.java