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

Method switchEncoding

czxing/src/main/cpp/zxing/src/Content.cpp:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void Content::switchEncoding(ECI eci, bool isECI)
44{
45 // remove all non-ECI entries on first ECI entry
46 if (isECI && !hasECI)
47 encodings.clear();
48 if (isECI || !hasECI)
49 encodings.push_back({eci, Size(bytes)});
50
51 hasECI |= isECI;
52}
53
54Content::Content() {}
55

Callers 10

DecoderResult DecodeFunction · 0.45
GetMessageFunction · 0.45
DecodeHanziSegmentFunction · 0.45
DecodeKanjiSegmentFunction · 0.45
DecodeByteSegmentFunction · 0.45
DecodeNumericSegmentFunction · 0.45
DecodeContentFunction · 0.45
ProcessECIFunction · 0.45

Calls 4

ToECIFunction · 0.85
SizeFunction · 0.70
clearMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected