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

Function DecodeByteSegment

czxing/src/main/cpp/zxing/src/qrcode/QRDecoder.cpp:106–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106static void DecodeByteSegment(BitSource& bits, int count, Content& result)
107{
108 result.switchEncoding(CharacterSet::Unknown);
109 result.reserve(count);
110
111 for (int i = 0; i < count; i++)
112 result += narrow_cast<uint8_t>(bits.readBits(8));
113}
114
115static char ToAlphaNumericChar(int value)
116{

Callers 1

Calls 3

switchEncodingMethod · 0.45
reserveMethod · 0.45
readBitsMethod · 0.45

Tested by

no test coverage detected