RTMappedMemory Class |
This class encapsulates a region of mapped memory and exposes it as a Stream.

SystemObject
SystemMarshalByRefObject
System.IOStream
IntervalZero.RTX64.RTAPI.IORTMappedMemory
Namespace:
IntervalZero.RTX64.RTAPI.IOSystemMarshalByRefObject
System.IOStream
IntervalZero.RTX64.RTAPI.IORTMappedMemory
Assembly: IntervalZero.RTX64 (in IntervalZero.RTX64.dll) Version: 3.3.0.0 (File version: 3.5.0)

The RTMappedMemory type exposes the following members.

Name | Description | |
---|---|---|
![]() | RTMappedMemory(UInt64, Int32, MemoryCachingType) |
Creates an instance of a MappedMemory object.
|
![]() | RTMappedMemory(UInt64, UInt32, MemoryCachingType) |
Creates an instance of a MappedMemory object.
|

Name | Description | |
---|---|---|
![]() | CacheType |
Gets the MemoryCachingType of the current MappedMemory instance.
|
![]() | CanRead |
Always returns true.
(Overrides StreamCanRead.) |
![]() | CanSeek |
Always returns true.
(Overrides StreamCanSeek.) |
![]() | CanWrite |
Always returns true.
(Overrides StreamCanWrite.) |
![]() | IsDisposed |
Returns true if the instance has been disposed, otherwise false.
|
![]() | Length |
Gets the number of bytes mapped (via the constructor).
(Overrides StreamLength.) |
![]() | Position |
Gets or sets the current position (offset from the base address) in the stream.
(Overrides StreamPosition.) |

Name | Description | |
---|---|---|
![]() | Close |
Closes the current stream and releases any resources (such as sockets and
file handles) associated with the current stream.
(Overrides StreamClose.) |
![]() | Dispose(Boolean) |
Releases the unmanaged resources used by the System.IO.Stream and optionally releases the managed resources.
(Overrides StreamDispose(Boolean).) |
![]() | Flush |
Memory mapped access is direct, so Flush does nothing.
(Overrides StreamFlush.) |
![]() | Read |
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes.
(Overrides StreamRead(Byte, Int32, Int32).) |
![]() | Seek |
Sets the position within the current stream.
(Overrides StreamSeek(Int64, SeekOrigin).) |
![]() | SetLength |
Not supported. Throws a NotSupportedException.
(Overrides StreamSetLength(Int64).) |
![]() | Write |
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
(Overrides StreamWrite(Byte, Int32, Int32).) |
