NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BinaryReader Constructor (Stream)

Creates a new instance of the BinaryReader class based on the supplied stream and using UTF8Encoding.

[Visual Basic]
Overloads Public Sub New( _
   ByVal input As Stream _
)
[C#]
public BinaryReader(
   Stream input
);
[C++]
public: BinaryReader(
   Stream* input
);
[JScript]
public function BinaryReader(
   input : Stream
);

Parameters

input
A stream.

Exceptions

Exception Type Condition
ArgumentException The stream does not support reading.
ArgumentNullException input is a null reference (in Visual Basic Nothing).

See Also

BinaryReader Class | BinaryReader Members | System.IO Namespace | BinaryReader Constructor Overload List