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

Function GetServiceClass

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

Source from the content-addressed store, hash-verified

167}
168
169static unsigned int GetServiceClass(const ByteArray& bytes)
170{
171 return std::min(GetInt(bytes, {55, 56, 57, 58, 59, 60, 49, 50, 51, 52}), 999U);
172}
173
174/**
175 * See ISO/IEC 16023:2000 Section 4.6 Table 3

Callers 1

DecoderResult DecodeFunction · 0.85

Calls 2

GetIntFunction · 0.85
minFunction · 0.50

Tested by

no test coverage detected