It’s easy to convert a byte array to a string.  For an ASCII string, use the Encoding.ASCII.GetString static method:

byte[] buffer = new byte[10];
// todo: populate the buffer with string data
string s = Encoding.ASCII.GetString( buffer );

Popularity: 4% [?]

Related posts:

  1. Convert String to Byte Array
  2. C# Convert String to Stream, and Stream to String
  3. Read File into Byte Array
  4. Convert Binary to Base64 String
  5. Sort C# Array in Descending/Reverse Order