| 81 | } |
| 82 | |
| 83 | void 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 | |
| 91 | bool Content::canProcess() const |
| 92 | { |
no test coverage detected