Export (0) Print
Expand All

UnmanagedMemoryStream Constructor (SafeBuffer, Int64, Int64, FileAccess)

.NET Framework 4.6 and 4.5

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

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

public UnmanagedMemoryStream(
	SafeBuffer buffer,
	long offset,
	long length,
	FileAccess access
)

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.

access
Type: System.IO.FileAccess

The mode of file access to the unmanaged memory stream.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft