예제 #1
0
 public static string DetectFileEncoding (byte[] inputData, int start, int count)
 {
     var det = new FileEncoding ();
     det.Detect (inputData, start, count);
     return det.Complete ();            
 }
예제 #2
0
 public static string DetectFileEncoding (Stream inputStream)
 {
     var det = new FileEncoding ();
     det.Detect (inputStream);
     return det.Complete ();
 }