mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-19 23:35:25 +03:00
make media encoding project portable
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
|
||||
using System.Text;
|
||||
|
||||
namespace MediaBrowser.Model.TextEncoding
|
||||
{
|
||||
public interface IEncoding
|
||||
{
|
||||
byte[] GetASCIIBytes(string text);
|
||||
string GetASCIIString(byte[] bytes, int startIndex, int length);
|
||||
|
||||
Encoding GetFileEncoding(string path);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user