Windows apps
Collapse the table of content
Expand the table of content
Information
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.Initialize Method (SafeBuffer, Int64, Int64, FileAccess)

.NET Framework (current version)
 

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)

protected void Initialize(
	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.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft