1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2024-10-17 09:42:45 +02:00
TweetDuck/lib/TweetLib.Browser/Interfaces/ResponseProcessorUtf8.cs

12 lines
325 B
C#

using System.Text;
namespace TweetLib.Browser.Interfaces {
public abstract class ResponseProcessorUtf8 : IResponseProcessor {
byte[] IResponseProcessor.Process(byte[] response) {
return Encoding.UTF8.GetBytes(Process(Encoding.UTF8.GetString(response)));
}
protected abstract string Process(string response);
}
}