std::string doesn't include the null-terminator in its data() + size() range. This ensures that the null-terminator will also be written to the buffer
std::string doesn't include the null-terminator in its data() + size() range. This ensures that the null-terminator will also be written to the buffer