jellyfin/Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/OutputStreamWriter.cs

21 lines
495 B
C#
Raw Normal View History

2017-04-01 17:36:06 -07:00
using System.IO;
using System.Text;
namespace SharpCifs.Util.Sharpen
{
internal class OutputStreamWriter : StreamWriter
2017-07-07 20:12:21 -07:00
{
public OutputStreamWriter (OutputStream stream) : base(stream.GetWrappedStream ())
{
}
2017-04-01 17:36:06 -07:00
2017-07-07 20:12:21 -07:00
public OutputStreamWriter (OutputStream stream, string encoding) : base(stream.GetWrappedStream (), Extensions.GetEncoding (encoding))
{
}
2017-04-01 17:36:06 -07:00
2017-07-07 20:12:21 -07:00
public OutputStreamWriter (OutputStream stream, Encoding encoding) : base(stream.GetWrappedStream (), encoding)
{
}
}
2017-04-01 17:36:06 -07:00
}