예제 #1
0
 public static HVal decode(string type, string val)
 {
     if ("Bin".CompareTo(type) == 0)
     {
         return(HBin.make(val));
     }
     return(M.Map(new HaystackXString(val, type)));
 }
예제 #2
0
 public static HVal decode(string type, string val)
 {
     if ("Bin".CompareTo(type) == 0)
     {
         return(HBin.make(val));
     }
     return(new HXStr(type, val));
 }