update project targets

This commit is contained in:
Luke Pulverenti
2016-10-30 03:11:37 -04:00
parent f676ea6315
commit 3094cd7ff3
29 changed files with 12206 additions and 307 deletions

View File

@@ -0,0 +1,18 @@
using System.Text;
using MediaBrowser.Model.TextEncoding;
namespace MediaBrowser.Server.Implementations.TextEncoding
{
public class TextEncoding : IEncoding
{
public byte[] GetASCIIBytes(string text)
{
return Encoding.ASCII.GetBytes(text);
}
public string GetASCIIString(byte[] bytes, int startIndex, int length)
{
return Encoding.ASCII.GetString(bytes, 0, bytes.Length);
}
}
}