示例#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 ();
 }