22 lines
475 B
C#
22 lines
475 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using MediaBrowser.Model.Text;
|
|
|
|
namespace SocketHttpListener.Primitives
|
|
{
|
|
public static class TextEncodingExtensions
|
|
{
|
|
public static Encoding GetDefaultEncoding(this ITextEncoding encoding)
|
|
{
|
|
return Encoding.UTF8;
|
|
}
|
|
|
|
public static Encoding GetDefaultEncoding()
|
|
{
|
|
return Encoding.UTF8;
|
|
}
|
|
}
|
|
}
|