some changes

This commit is contained in:
2021-10-03 00:13:34 +03:00
parent d352bc69ea
commit ced9f72279
6 changed files with 26 additions and 93 deletions

View File

@@ -39,7 +39,7 @@ namespace DTLib.Filesystem
return output;
}
public static string ReadAllText(string file) => ReadAllBytes(file).ToStr();
public static string ReadAllText(string file) => SimpleConverter.ToString(ReadAllBytes(file));
public static void WriteAllBytes(string file, byte[] content)
{