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

Function GetCountry

czxing/src/main/cpp/zxing/src/maxicode/MCDecoder.cpp:164–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164static unsigned int GetCountry(const ByteArray& bytes)
165{
166 return std::min(GetInt(bytes, {53, 54, 43, 44, 45, 46, 47, 48, 37, 38}), 999U);
167}
168
169static unsigned int GetServiceClass(const ByteArray& bytes)
170{

Callers 1

DecoderResult DecodeFunction · 0.85

Calls 2

GetIntFunction · 0.85
minFunction · 0.50

Tested by

no test coverage detected