public static byte[] UrlDecodeToBytes(byte[] bytes) { if (bytes == null) { return(null); } return(XmlaHttpUtility.UrlDecodeToBytes(bytes, 0, (bytes != null) ? bytes.Length : 0)); }
public static byte[] UrlDecodeToBytes(string str, Encoding e) { if (str == null) { return(null); } return(XmlaHttpUtility.UrlDecodeToBytes(e.GetBytes(str))); }