//qrcode-kotlin/qrcode.raw/QRCodeProcessor/Companion/typeForDataAndECL

typeForDataAndECL

[common]\

@JvmStatic

@JvmOverloads

fun typeForDataAndECL(data: String, errorCorrectionLevel: ErrorCorrectionLevel, dataType: QRCodeDataType = QRUtil.getDataType(data)): Int

Calculates a suitable value for the dataType field for you.