MCPcopy Create free account
hub / github.com/devilsen/CZXing / ReadCodewords

Function ReadCodewords

czxing/src/main/cpp/zxing/src/qrcode/QRBitMatrixParser.cpp:184–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184ByteArray ReadCodewords(const BitMatrix& bitMatrix, const Version& version, const FormatInformation& formatInfo)
185{
186 if (!hasValidDimension(bitMatrix, version.isMicroQRCode()))
187 return {};
188
189 return version.isMicroQRCode() ? ReadMQRCodewords(bitMatrix, version, formatInfo)
190 : ReadQRCodewords(bitMatrix, version, formatInfo);
191}
192
193} // namespace ZXing::QRCode

Callers 2

DecodeFunction · 0.85
DecodeFunction · 0.85

Calls 4

hasValidDimensionFunction · 0.85
ReadMQRCodewordsFunction · 0.85
ReadQRCodewordsFunction · 0.85
isMicroQRCodeMethod · 0.80

Tested by

no test coverage detected