aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations/IO/ManagedFileSystem.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-10-29 01:40:15 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-10-29 01:40:15 -0400
commit2729301bffb8b4a15c2228fee39717d80b123e60 (patch)
tree783fb50681cdf085ea6ea550e52d2ee970d198ea /MediaBrowser.Common.Implementations/IO/ManagedFileSystem.cs
parentce38e987910b4badb4c40844786449458b2d3229 (diff)
move common dependencies
Diffstat (limited to 'MediaBrowser.Common.Implementations/IO/ManagedFileSystem.cs')
-rw-r--r--MediaBrowser.Common.Implementations/IO/ManagedFileSystem.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/MediaBrowser.Common.Implementations/IO/ManagedFileSystem.cs b/MediaBrowser.Common.Implementations/IO/ManagedFileSystem.cs
index 8b027d41a..4f6c34cb7 100644
--- a/MediaBrowser.Common.Implementations/IO/ManagedFileSystem.cs
+++ b/MediaBrowser.Common.Implementations/IO/ManagedFileSystem.cs
@@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
-using MediaBrowser.Common.IO;
using MediaBrowser.Model.IO;
using MediaBrowser.Model.Logging;
@@ -660,6 +659,11 @@ namespace MediaBrowser.Common.Implementations.IO
return File.ReadAllText(path);
}
+ public byte[] ReadAllBytes(string path)
+ {
+ return File.ReadAllBytes(path);
+ }
+
public void WriteAllText(string path, string text, Encoding encoding)
{
File.WriteAllText(path, text, encoding);
@@ -670,6 +674,11 @@ namespace MediaBrowser.Common.Implementations.IO
File.WriteAllText(path, text);
}
+ public void WriteAllBytes(string path, byte[] bytes)
+ {
+ File.WriteAllBytes(path, bytes);
+ }
+
public string ReadAllText(string path, Encoding encoding)
{
return File.ReadAllText(path, encoding);