ErrorCorrectionLevel
ErrorCorrectionLevel =
"L"|"M"|"Q"|"H"
Defined in: version.ts:13
Capacity tables + version metadata from ISO/IEC 18004 §6.5 and Annex D.
Each version 1-40 has 4 ECC levels (L, M, Q, H). For each (version, ECC) the spec defines:
- Total data codewords (
dataCodewords) - Number of error-correction blocks (groups)
- Block sizes within each group
The matrix dimension is (version - 1) * 4 + 21.