jellyfin-server/Emby.Common.Implementations/IO/SharpCifs/Util/Sharpen/OutputStreamWriter.cs
2017-06-21 02:46:57 -04:00

24 lines
587 B
C#

using System.IO;
using System.Text;
namespace SharpCifs.Util.Sharpen
{
internal class OutputStreamWriter : StreamWriter
{
public OutputStreamWriter(OutputStream stream)
: base(stream.GetWrappedStream())
{
}
public OutputStreamWriter(OutputStream stream, string encoding)
: base(stream.GetWrappedStream(), Extensions.GetEncoding(encoding))
{
}
public OutputStreamWriter(OutputStream stream, Encoding encoding)
: base(stream.GetWrappedStream(), encoding)
{
}
}
}