Visual Studio Code – C++ functions to convert sequence of bytes to string representation results in garbage output
I wrote multiple simple C++ functions to convert byte sequences to string representations. It was pretty straight forward, I am sure my logic is right, I thought this to be extremely easy, until I started to print the strings and…