//qrcode-kotlin/qrcode.raw/QRCodeProcessor/Companion/typeForDataAndECL
[common]\
fun typeForDataAndECL(data: String, errorCorrectionLevel: ErrorCorrectionLevel, dataType: QRCodeDataType = QRUtil.getDataType(data)): Int
Calculates a suitable value for the dataType field for you.