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

Function ParseECIValue

czxing/src/main/cpp/zxing/src/aztec/AZDecoder.cpp:212–218  ·  view source on GitHub ↗

* See ISO/IEC 24778:2008 Section 10.1 */

Source from the content-addressed store, hash-verified

210* See ISO/IEC 24778:2008 Section 10.1
211*/
212static ECI ParseECIValue(BitArrayView& bits, const int flg)
213{
214 int eci = 0;
215 for (int i = 0; i < flg; i++)
216 eci = 10 * eci + bits.readBits(4) - 2;
217 return ECI(eci);
218}
219
220/**
221* See ISO/IEC 24778:2008 Section 8

Callers 1

DecodeContentFunction · 0.70

Calls 2

ECIEnum · 0.50
readBitsMethod · 0.45

Tested by

no test coverage detected