diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-04-01 20:36:06 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-04-01 20:36:06 -0400 |
| commit | 733b891f529c2458d65560f556edf68052be2846 (patch) | |
| tree | 4c6de5d23e73f8fea02513a6936bdb01a39e7b62 /Emby.Common.Implementations/IO/SharpCifs/Util/Sharpen/OutputStreamWriter.cs | |
| parent | d4d6314c5ac4515ad8ddf7c8636245ed2d93d4c8 (diff) | |
stub out cifs support
Diffstat (limited to 'Emby.Common.Implementations/IO/SharpCifs/Util/Sharpen/OutputStreamWriter.cs')
| -rw-r--r-- | Emby.Common.Implementations/IO/SharpCifs/Util/Sharpen/OutputStreamWriter.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Emby.Common.Implementations/IO/SharpCifs/Util/Sharpen/OutputStreamWriter.cs b/Emby.Common.Implementations/IO/SharpCifs/Util/Sharpen/OutputStreamWriter.cs new file mode 100644 index 000000000..6313b7c79 --- /dev/null +++ b/Emby.Common.Implementations/IO/SharpCifs/Util/Sharpen/OutputStreamWriter.cs @@ -0,0 +1,20 @@ +using System.IO; +using System.Text; + +namespace SharpCifs.Util.Sharpen +{ + internal class OutputStreamWriter : StreamWriter + { + public OutputStreamWriter (OutputStream stream) : base(stream.GetWrappedStream ()) + { + } + + public OutputStreamWriter (OutputStream stream, string encoding) : base(stream.GetWrappedStream (), Extensions.GetEncoding (encoding)) + { + } + + public OutputStreamWriter (OutputStream stream, Encoding encoding) : base(stream.GetWrappedStream (), encoding) + { + } + } +} |
