Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UnmanagedMemoryStream Constructor (SafeBuffer, Int64, Int64)

.NET Framework (current version)

Initializes a new instance of the UnmanagedMemoryStream class in a safe buffer with a specified offset and length.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

public UnmanagedMemoryStream(
	SafeBuffer buffer,
	long offset,
	long length


Type: System.Runtime.InteropServices.SafeBuffer

The buffer to contain the unmanaged memory stream.

Type: System.Int64

The byte position in the buffer at which to start the unmanaged memory stream.

Type: System.Int64

The length of the unmanaged memory stream.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.0
Return to top
© 2017 Microsoft