public static string QPDecode(string toEncode, Encoding e) { byte[] array = WWWTranscoder.Decode(Encoding.UTF8.GetBytes(toEncode), WWWTranscoder.qpEscapeChar, WWWTranscoder.qpSpace); return(e.GetString(array, 0, array.Length)); }
public static byte[] QPDecode(byte[] toEncode) { return(WWWTranscoder.Decode(toEncode, WWWTranscoder.qpEscapeChar, WWWTranscoder.qpSpace)); }
public static byte[] URLDecode(byte[] toEncode) { return(WWWTranscoder.Decode(toEncode, WWWTranscoder.urlEscapeChar, WWWTranscoder.urlSpace)); }