コード例 #1
0
ファイル: cStringIO.cs プロジェクト: weimingtom/IronPythonMod
 public int Read()
 {
     if (sr == null)
     {
         throw Ops.EofError("");
     }
     FixStreams();
     return(sr.Read());
 }
コード例 #2
0
 public string read(int i)
 {
     ThrowIfClosed();
     return((i < 0) ? _sr.ReadToEnd() : _sr.Read(i));
 }
コード例 #3
0
 public string read(int s)
 {
     ThrowIfClosed();
     return((s < 0) ? _sr.ReadToEnd() : _sr.Read(s));
 }