mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-21 20:42:46 +01:00
12 lines
325 B
C#
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);
|
|
}
|
|
}
|