public void serializeTo(int[] array, int offset, int precision) {
    array[offset] = ((scale << 16) | (signum & 0xFF));
    this.unscaledValue.serializeTo(array, offset + 1, precision);
  }
Serialize this object to the given array, putting the required number of
ints for the given precision.

@param array
         array to write values to
@param offset
         offset of the int array
@param precision
         0 to 38. Decimal digits.
common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java