mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-25 19:44:43 +01:00
merge common implementations and server implementations
This commit is contained in:
@@ -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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user