B boxim Jan 20, 2004 #1 how to get from byte[] to string? i can't remember method to use, Encoding method i think? TIA Sam
J Jon Skeet [C# MVP] Jan 20, 2004 #2 boxim said: how to get from byte[] to string? i can't remember method to use, Encoding method i think? Click to expand... Yes - use the GetString method of the appropriate encoding, eg string x = Encoding.UTF8.GetString(myBytes);
boxim said: how to get from byte[] to string? i can't remember method to use, Encoding method i think? Click to expand... Yes - use the GetString method of the appropriate encoding, eg string x = Encoding.UTF8.GetString(myBytes);
L Lawrence Oluyede Jan 20, 2004 #5 Marco Martin said: try; Convert.ToString(bytValue); Click to expand... It does not work with byte arrays but only with byte values
Marco Martin said: try; Convert.ToString(bytValue); Click to expand... It does not work with byte arrays but only with byte values