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