You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
646 B
27 lines
646 B
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)
|
|
{
|
|
}
|
|
}
|
|
}
|