Exemplo n.º 1
0
 /// <summary>
 /// Converts the stream to an UTF-8 string
 /// </summary>
 /// <param name="stream"></param>
 /// <returns>An UTF-8 string</returns>
 public static string ToUtf8String(this Stream stream)
 {
     return(Bio.BytesToString(stream.ToByteArray()));
 }