I need to convert a byte array into a readable plain text string. I had a look at this How do you convert a byte array to a hexadecimal string, and vice versa? but it converts it to a hex string in ASCII. I am looking for a plain text string equivalent.
i.e when you make use of this website https://codebeautify.org/hex-string-converter , you should be able to post your hexidecimal text and get the converted string.
Take this Hex string for example: 47617465776179536572766572
, the plain text output is GatewayServer
I want to achieve this in code.. my packet data is coming as a byte array.