jellyfin-server/Emby.Common.Implementations/IO/SharpCifs/Util/Sharpen/OutputStreamWriter.cs

24 lines
587 B
C#
Raw Normal View History

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