presto-spi/src/main/java/io/prestosql/spi/type/Decimals.java/Decimals/writeBigDecimal
class Decimals:    public static void writeBigDecimal(DecimalType decimalType, BlockBuilder blockBuilder, BigDecimal value)
    {
        decimalType.writeSlice(blockBuilder, encodeScaledValue(value));
    }