MCPcopy Create free account
hub / github.com/DSVVA/MHY_Scanner / getNumDataCodewords

Method getNumDataCodewords

3rdparty/QR-Code-generator/cpp/qrcodegen.cpp:695–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

693
694
695int QrCode::getNumDataCodewords(int ver, Ecc ecl) {
696 return getNumRawDataModules(ver) / 8
697 - ECC_CODEWORDS_PER_BLOCK [static_cast<int>(ecl)][ver]
698 * NUM_ERROR_CORRECTION_BLOCKS[static_cast<int>(ecl)][ver];
699}
700
701
702vector<uint8_t> QrCode::reedSolomonComputeDivisor(int degree) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected