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

A stream object that is backed by unmanaged memory. The behavior of UnmanagedMemoryStream is similar to that of the .NET MemoryStream, because it manages memory internally and will re-allocate its internal buffers as necessary to accomodate addition writes (the latter is not supported by UnmanagedMemoryStream). The memory used by this class is allocated either via MPI's memory allocation routines (the default) or the Marshal class's unmanaged memory allocation routines.

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


public class UnmanagedMemoryStream : Stream
Visual Basic (Declaration)
Public Class UnmanagedMemoryStream _
	Inherits Stream
Visual C++
public ref class UnmanagedMemoryStream : public Stream

Inheritance Hierarchy


See Also