MemoryStream(Byte, Int32, Int32, Boolean) Constructor |
Initializes a new non-resizable instance of the CrestronIO.MemoryStream class
based on the specified region of a byte array, with the CrestronIO.MemoryStream.CanWrite
property set as specified.
Namespace: Crestron.SimplSharp.CrestronIOAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic MemoryStream(
byte[] buffer,
int index,
int count,
bool writable
)
Parameters
- buffer Byte
-
The array of unsigned bytes from which to create this stream.
- index Int32
-
The index in buffer at which the stream begins.
- count Int32
-
The length of the stream in bytes.
- writable Boolean
-
The setting of the CrestronIO.MemoryStream.CanWrite property, which determines
whether the stream supports writing.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also