1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2024-11-23 17:42:46 +01: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);
}
}