BytesToString()

This commit is contained in:
2021-10-26 18:43:58 +03:00
parent e2d0fb8a03
commit dcc1ad3e17
4 changed files with 25 additions and 6 deletions

View File

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