//qrcode-kotlin/qrcode/QRCode/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.