mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-17 21:54:58 +00:00
Adding method to open file with the given mode
This commit is contained in:
@@ -71,5 +71,11 @@ namespace ICD.Common.Utils.IO
|
|||||||
{
|
{
|
||||||
return new IcdFileStream(File.OpenWrite(path));
|
return new IcdFileStream(File.OpenWrite(path));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[PublicAPI]
|
||||||
|
public static IcdFileStream Open(string path, FileMode mode)
|
||||||
|
{
|
||||||
|
return new IcdFileStream(File.Open(path, mode));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user