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.
|
|
|
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)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|