public TextReaderClob ( Stream stream, |
||
stream | Stream | |
encoding | ||
return | System |
public TextReaderClob(Stream stream, Encoding encoding)
{
if (stream == null) throw new ArgumentNullException("stream");
if (encoding == null) throw new ArgumentNullException("encoding");
try
{
_initialPosition = stream.CanSeek ? stream.Position : -1L;
}
catch
{
_initialPosition = -1L;
}
_reader = new StreamReader(stream, encoding);
}
TextReaderClob::TextReaderClob ( TextReader reader ) : System |