I think that most programmers are more familiar with `.c_str()` in this use case, but `.data()` is also OK in C++11.