IsUtf8() 공개 정적인 메소드

public static IsUtf8 ( byte buffer, int limit = int.MaxValue ) : bool
buffer byte
limit int
리턴 bool
예제 #1
0
 public static string ToUtf8String([NotNull] this byte[] bytes)
 {
     return((UTF8Checker.IsUtf8(bytes, 200) ? Encoding.UTF8 : Encoding.Default).GetString(bytes));
 }