Click or drag to resize

BinaryReader(Stream, Encoding) Constructor

Initializes a new instance of the CrestronIO.BinaryReader class based on the supplied stream and a specific character encoding.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public BinaryReader(
	Stream input,
	Encoding encoding
)

Parameters

input  Stream
The supplied stream.
encoding  Encoding
The character encoding.
Exceptions
ExceptionCondition
ArgumentException The stream does not support reading, the stream is null, or the stream is already closed.
ArgumentNullException encoding is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also