j
k
j a
j l
std::string datos=buf.data();
The above line invokes std::string constructor that expects to get c-style null-terminated string. Are you sure your "buf" contains such a string?
Back to the thread
Back to the list