UnmanagedMemoryStream Constructor (SafeBuffer, Int64, Int64)

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
)

Parameters

buffer
Type: System.Runtime.InteropServices.SafeBuffer

The buffer to contain the unmanaged memory stream.

offset
Type: System.Int64

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

length
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
Show:
© 2016 Microsoft