Tempest.StreamValueReader.StreamValueReader C# (CSharp) Method

StreamValueReader() public method

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;
        }