| 97 | end_offset += len; |
| 98 | } |
| 99 | void append_2(const char *s1, const char *f1, const char *s2, |
| 100 | const char *f2) { |
| 101 | const size_t l1 = f1 - s1; |
| 102 | const size_t l2 = f2 - s2; |
| 103 | reserve(end_offset + l1 + l2); |
| 104 | memcpy(buffer + end_offset, s1, l1); |
| 105 | memcpy(buffer + end_offset + l1, s2, l2); |
| 106 | end_offset += l1 + l2; |
| 107 | } |
| 108 | private: |
| 109 | char *buffer; |
| 110 | size_t begin_offset; |
nothing calls this directly
no outgoing calls
no test coverage detected