Click or drag to resize

MemoryStreamGetBuffer Method

Returns the array of unsigned bytes from which this stream was created.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public virtual byte[] GetBuffer()

Return Value

Byte
The byte array from which this stream was created, or the underlying array if a byte array was not provided to the CrestronIO.MemoryStream constructor during construction of the current instance.
Exceptions
ExceptionCondition
UnauthorizedAccessException The MemoryStream instance was not created with a publicly visible buffer.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also