G
Guest
I can't seem to find any byte array conversion functions to strings.
I'm receiving data via a network packet and want to convert the byte array
contents into there actual character equivilent.
For example
Convert
byte[] byteArray = { 64, 65, some ascii numbers }
To
char[] charArray = { A, B, some characters }
by the way I don't think my ascii numbers are correct
In C++ you would just typecast them but I can't seem to do that.
I'm receiving data via a network packet and want to convert the byte array
contents into there actual character equivilent.
For example
Convert
byte[] byteArray = { 64, 65, some ascii numbers }
To
char[] charArray = { A, B, some characters }
by the way I don't think my ascii numbers are correct
In C++ you would just typecast them but I can't seem to do that.