示例#1
0
 /** ロード。
  *
  *      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));
 }
 /** ロード。
  *
  *      a_assets_path_with_extention	: 「Assets」からの相対パス。拡張子付き。
  *
  */
 public static string Load(string a_assets_path_with_extention)
 {
     byte[]             t_binary = LoadBinaryWithFullPath.Load(AssetLib.GetApplicationDataPath() + '\\' + a_assets_path_with_extention);
     EncodeCheck.Result t_result = EncodeCheck.GetEncoding(t_binary);
     return(t_result.encoding.GetString(t_binary, t_result.bomsize, t_binary.Length - t_result.bomsize));
 }
 /** ロード。
  *
  *      a_full_path_with_extention		: フルパス。拡張子付き。
  *
  */
 public static string Load(string a_full_path_with_extention)
 {
     byte[]             t_binary = LoadBinaryWithFullPath.Load(a_full_path_with_extention);
     EncodeCheck.Result t_result = EncodeCheck.GetEncoding(t_binary);
     return(t_result.encoding.GetString(t_binary, t_result.bomsize, t_binary.Length - t_result.bomsize));
 }