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.
jellyfin/Emby.Common.Implementations/IO/SharpCifs/Util/Sharpen/OutputStreamWriter.cs

24 lines
587 B

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