public StreamValueReader ( Stream stream ) : System | ||
stream | Stream | |
return | System |
public StreamValueReader(Stream stream)
{
if (stream == null)
throw new ArgumentNullException ("stream");
if (!stream.CanRead)
throw new ArgumentException ("Can not read from this stream", "stream");
this.stream = stream;
}