Click or drag to resize

MemoryStream Constructor

Overload List
 NameDescription
Public methodMemoryStream Initializes a new instance of the CrestronIO.MemoryStream class with an expandable capacity initialized to zero.
Public methodMemoryStream(Byte) Initializes a new non-resizable instance of the CrestronIO.MemoryStream class based on the specified byte array.
Public methodMemoryStream(Int32) Initializes a new instance of the CrestronIO.MemoryStream class with an expandable capacity initialized as specified.
Public methodMemoryStream(Byte, Boolean) 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.
Public methodMemoryStream(Byte, Int32, Int32) Initializes a new non-resizable instance of the CrestronIO.MemoryStream class based on the specified region (index) of a byte array.
Public methodMemoryStream(Byte, Int32, Int32, Boolean) 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.
Public methodMemoryStream(Byte, Int32, Int32, Boolean, Boolean) Initializes a new instance of the CrestronIO.MemoryStream class based on the specified region of a byte array, with the CrestronIO.MemoryStream.CanWrite property set as specified, and the ability to call CrestronIO.MemoryStream.GetBuffer() set as specified.
Top
See Also