//qrcode-kotlin/io.github.g0dkar.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.