Click or drag to resize

MemoryStream(Byte, Boolean) Constructor

Initializes a new non-resizable instance of the CrestronIO.MemoryStream class based on the specified byte array with the CrestronIO.MemoryStream.CanWrite property set as specified.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public MemoryStream(
	byte[] buffer,
	bool writable
)

Parameters

buffer  Byte
The array of unsigned bytes from which to create this stream.
writable  Boolean
The setting of the CrestronIO.MemoryStream.CanWrite property, which determines whether the stream supports writing.
Exceptions
ExceptionCondition
ArgumentNullException buffer is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also