public Reader(InputStream.InputStream stream) { StreamReader = new StreamReader(stream.GetStream(), Encoding.Default); }
public InputStreamReader(InputStream.InputStream stream, Charset charset) : base(stream) { _charset = charset; }
public InputStreamReader(InputStream.InputStream stream) : base(stream) { _charset = Charset.forName("UTF-8"); }
public InputStreamReader(InputStream.InputStream stream, string encoding = null) : base(stream) { _charset = !string.IsNullOrEmpty(encoding) ? Charset.forName(encoding) : Charset.defaultCharset(); }