Exemplo n.º 1
0
 public static string ToUtf8String([NotNull] this byte[] bytes)
 {
     return((UTF8Checker.IsUtf8(bytes, 200) ? Encoding.UTF8 : Encoding.Default).GetString(bytes));
 }