how to convert bytes to string, i am using below code to convert string to bytes. i want code to convert that bytes to string.
public byte[] FileToByteArray(string fileName)
{
byte[] buff = null;
FileStream fs = new FileStream(fileName,
FileMode.Open,
FileAccess.Read);
BinaryReader br = new BinaryReader(fs);
long numBytes = new FileInfo(fileName).Length;
//buff = br.ReadBytes((int)numBytes);
buff = br.ReadBytes(16);
return buff;
}