From da31fae213de337d54358bfa713dca5cd6c31458 Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Wed, 6 Jun 2018 10:02:00 -0400 Subject: [PATCH] feat: Exposing OpenRead method in IcdFile --- ICD.Common.Utils/IO/IcdFile.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ICD.Common.Utils/IO/IcdFile.cs b/ICD.Common.Utils/IO/IcdFile.cs index 0b90670..7e01e98 100644 --- a/ICD.Common.Utils/IO/IcdFile.cs +++ b/ICD.Common.Utils/IO/IcdFile.cs @@ -66,6 +66,11 @@ namespace ICD.Common.Utils.IO File.Delete(path); } + public static IcdStream OpenRead(string path) + { + return new IcdFileStream(File.OpenRead(path)); + } + [PublicAPI] public static IcdFileStream OpenWrite(string path) {