mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
Adding method to open file with the given mode
This commit is contained in:
parent
25d8140c3e
commit
43f1776ba9
1 changed files with 6 additions and 0 deletions
|
|
@ -71,5 +71,11 @@ namespace ICD.Common.Utils.IO
|
|||
{
|
||||
return new IcdFileStream(File.OpenWrite(path));
|
||||
}
|
||||
|
||||
[PublicAPI]
|
||||
public static IcdFileStream Open(string path, FileMode mode)
|
||||
{
|
||||
return new IcdFileStream(File.Open(path, mode));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue