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