stub out cifs support

This commit is contained in:
Luke Pulverenti
2017-04-01 20:36:06 -04:00
parent d4d6314c5a
commit 733b891f52
227 changed files with 38755 additions and 30 deletions

View File

@@ -0,0 +1,25 @@
using System.IO;
using System.Text;
namespace SharpCifs.Util.Sharpen
{
public class InputStreamReader : StreamReader
{
//Stream(string path) constructor deleted
//protected InputStreamReader (string file) : base(file)
//{
//}
public InputStreamReader (InputStream s) : base(s.GetWrappedStream ())
{
}
public InputStreamReader (InputStream s, string encoding) : base(s.GetWrappedStream (), Encoding.GetEncoding (encoding))
{
}
public InputStreamReader (InputStream s, Encoding e) : base(s.GetWrappedStream (), e)
{
}
}
}