2016-11-01 00:07:12 -04:00
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
2016-10-30 03:11:37 -04:00
|
|
|
|
namespace MediaBrowser.Model.TextEncoding
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IEncoding
|
|
|
|
|
|
{
|
|
|
|
|
|
byte[] GetASCIIBytes(string text);
|
|
|
|
|
|
string GetASCIIString(byte[] bytes, int startIndex, int length);
|
2016-11-01 00:07:12 -04:00
|
|
|
|
|
|
|
|
|
|
Encoding GetFileEncoding(string path);
|
2016-10-30 03:11:37 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|