feat: Add method to IcdFile for getting the length in bytes of a specified file

This commit is contained in:
Austin Noska
2021-04-28 16:16:59 -04:00
parent a26783bd67
commit 40330d0007

View File

@@ -98,6 +98,12 @@ namespace ICD.Common.Utils.IO
return File.GetCreationTime(path);
}
[PublicAPI]
public static long GetLength(string path)
{
return new FileInfo(path).Length;
}
[PublicAPI]
public static IcdFileStream Create(string path)
{