Click or drag to resize

BinaryWriter(Stream, Encoding) Constructor

Initializes a new instance of the CrestronIO.BinaryWriter 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 BinaryWriter(
	Stream output,
	Encoding encoding
)

Parameters

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

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also