Click or drag to resize

MemoryStream(Int32) Constructor

Initializes a new instance of the CrestronIO.MemoryStream class with an expandable capacity initialized as specified.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public MemoryStream(
	int capacity
)

Parameters

capacity  Int32
The initial size of the internal array in bytes.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException capacity is negative.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also