Calyptus.Lob.TextReaderClob.TextReaderClob C# (CSharp) Method

TextReaderClob() public method

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

Same methods

TextReaderClob::TextReaderClob ( TextReader reader ) : System.IO