I searched char*
to hex
string before but implementation I found adds some non-existent garbage at the end of hex
string. I receive packets from socket, and I need to convert them to hex
strings for log (null-terminated buffer). Can somebody advise me a good implementation for C++
?
Thanks!