UnityEngine.WWWTranscoder.URLDecode C# (CSharp) Method

URLDecode() public static method

public static URLDecode ( byte toEncode ) : byte[]
toEncode byte
return byte[]
        public static byte[] URLDecode(byte[] toEncode)
        {
            return Decode(toEncode, urlEscapeChar, urlSpace);
        }

Same methods

WWWTranscoder::URLDecode ( string toEncode ) : string
WWWTranscoder::URLDecode ( string toEncode, [ e ) : string

Usage Example

コード例 #1
0
 public static string UnEscapeURL(string s, [UnityEngine.Internal.DefaultValue("System.Text.Encoding.UTF8")] Encoding e)
 {
     if (s == null)
     {
         return(null);
     }
     if ((s.IndexOf('%') == -1) && (s.IndexOf('+') == -1))
     {
         return(s);
     }
     return(WWWTranscoder.URLDecode(s, e));
 }
All Usage Examples Of UnityEngine.WWWTranscoder::URLDecode