you should use .GetString on the encoding to convert a byte array to a string, eg:
VB Code:
[COLOR=blue]string[/COLOR] s = System.Text.Encoding.ASCII.GetString(byData); [COLOR=blue]return[/COLOR] s
|
Results 1 to 2 of 2
Thread: Convert byte[] to stringThreaded View
|
Click Here to Expand Forum to Full Width |