MAX_DECIMAL_SCALE

const val MAX_DECIMAL_SCALE: Int = 38

The specification fixes the scale byte's range at [0, 38].