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