[This is preliminary documentation and is subject to change.]

Create a new, empty unmanaged memory stream. The memory stream can be resized by setting Length, calling SetLength(Int64), or writing to the stream.

Namespace:  MPI
Assembly:  MPI (in MPI.dll)
Version: 0.6.0.0 (0.6.0.0)

Syntax

C#
public UnmanagedMemoryStream(
	bool defaultMemoryFromMPI
)
Visual Basic (Declaration)
Public Sub New ( _
	defaultMemoryFromMPI As Boolean _
)
Visual C++
public:
UnmanagedMemoryStream(
	bool defaultMemoryFromMPI
)

Parameters

defaultMemoryFromMPI
Type: System..::.Boolean
Whether this stream should first try to allocate its memory from MPI. If MPI cannot provide memory, or if this parameter is false, memory will be allocated from the unmanaged heap.

See Also