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

Function GetPostCode2Length

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

Source from the content-addressed store, hash-verified

133}
134
135static unsigned int GetPostCode2Length(const ByteArray& bytes)
136{
137 return std::min(GetInt(bytes, {39, 40, 41, 42, 31, 32}), 9U);
138}
139
140static std::string GetPostCode2(const ByteArray& bytes)
141{

Callers 1

GetPostCode2Function · 0.85

Calls 2

GetIntFunction · 0.85
minFunction · 0.50

Tested by

no test coverage detected