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

Method insert

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

Source from the content-addressed store, hash-verified

81}
82
83void Content::insert(int pos, const std::string& str)
84{
85 bytes.insert(bytes.begin() + pos, str.begin(), str.end());
86 for (auto& e : encodings)
87 if (e.pos > pos)
88 pos += Size(str);
89}
90
91bool Content::canProcess() const
92{

Callers 13

guessEncodingMethod · 0.45
appendBitArrayMethod · 0.45
readMultipleMethod · 0.45
appendMethod · 0.45
DecoderResult DecodeFunction · 0.45
EncodeBase256Function · 0.45
DecoderResult DecodeFunction · 0.45
decodePatternMethod · 0.45
DoDecodeFunction · 0.45
decodeMethod · 0.45
EncodeNumericFunction · 0.45
GenerateErrorCorrectionFunction · 0.45

Calls 3

SizeFunction · 0.70
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected