public static global::haxe.io.Bytes getBytes(string path) { global::sys.io.FileInput f = global::sys.io.File.read(path, new global::haxe.lang.Null <bool>(true, true)); global::haxe.io.Bytes ret = f.readAll(default(global::haxe.lang.Null <int>)); f.close(); return(ret); }
public static string getContent(string path) { global::sys.io.FileInput f = global::sys.io.File.read(path, new global::haxe.lang.Null <bool>(false, true)); string ret = f.readAll(default(global::haxe.lang.Null <int>)).toString(); f.close(); return(ret); }