Copy contents of src to dst[0,src.size()-1].
| 34 | |
| 35 | // Copy contents of src to dst[0,src.size()-1]. |
| 36 | inline void CopyToArray(const string& src, char* dst) { |
| 37 | memcpy(dst, src.data(), src.size()); |
| 38 | } |
| 39 | |
| 40 | // Copy subrange [pos:(pos + n)) from src to dst. If pos >= src.size() the |
| 41 | // result is empty. If pos + n > src.size() the subrange [pos, size()) is |
no test coverage detected