/** ロード。 * * a_url : URL * a_post == null : GET * a_encoding : エンコード。 * a_offset : オフセット。 * */ public static string Load(string a_url, System.Collections.Generic.List <UnityEngine.Networking.IMultipartFormSection> a_post, System.Text.Encoding a_encoding, int a_offset) { byte[] t_binary = LoadBinaryWithUrl.Load(a_url, a_post); return(a_encoding.GetString(t_binary, a_offset, t_binary.Length - a_offset)); }
/** ロード。 * * a_url : URL * a_post == null : GET * */ public static string Load(string a_url, System.Collections.Generic.List <UnityEngine.Networking.IMultipartFormSection> a_post) { byte[] t_binary = LoadBinaryWithUrl.Load(a_url, a_post); EncodeCheck.Result t_result = EncodeCheck.GetEncoding(t_binary); return(t_result.encoding.GetString(t_binary, t_result.bomsize, t_binary.Length - t_result.bomsize)); }