The RTMappedMemory type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | RTMappedMemory(UInt64, Int32, MemoryCachingType) |
Creates an instance of a MappedMemory object.
|
![]() | RTMappedMemory(UInt64, UInt32, MemoryCachingType) |
Creates an instance of a MappedMemory object.
|
Methods
Name | Description | |
---|---|---|
![]() | ![]() | Begins an asynchronous read operation. (Inherited from ![]() |
![]() | ![]() | Begins an asynchronous write operation. (Inherited from ![]() |
![]() | Close |
Closes the current stream and releases any resources (such as sockets and
file handles) associated with the current stream.
(Overrides ![]() |
![]() | ![]() | Reads the bytes from the current stream and writes them to the destination stream. (Inherited from ![]() |
![]() | ![]() | Reads all the bytes from the current stream and writes them to a destination stream, using a specified buffer size. (Inherited from ![]() |
![]() | ![]() | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from ![]() |
![]() | ![]() | Obsolete. Allocates a (Inherited from ![]() ![]() |
![]() | ![]() | Releases all resources used by the (Inherited from ![]() ![]() |
![]() | Dispose(Boolean) |
Releases the unmanaged resources used by the System.IO.Stream and optionally releases the managed resources.
(Overrides ![]() |
![]() | ![]() | Waits for the pending asynchronous read to complete. (Inherited from ![]() |
![]() | ![]() | Ends an asynchronous write operation. (Inherited from ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | Flush |
Memory mapped access is direct, so Flush does nothing.
(Overrides ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | ![]() | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Provides support for a Contract. (Inherited from ![]() |
![]() | Read |
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes.
(Overrides ![]() |
![]() | ![]() | Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. (Inherited from ![]() |
![]() | Seek |
Sets the position within the current stream.
(Overrides ![]() |
![]() | SetLength |
Not supported. Throws a NotSupportedException.
(Overrides ![]() |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
![]() | 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 ![]() |
![]() | ![]() | Writes a byte to the current position in the stream and advances the position within the stream by one byte. (Inherited from ![]() |
Properties
Name | Description | |
---|---|---|
![]() | CacheType |
Gets the MemoryCachingType of the current MappedMemory instance.
|
![]() | CanRead |
Always returns true.
(Overrides ![]() |
![]() | CanSeek |
Always returns true.
(Overrides ![]() |
![]() | ![]() | Gets a value that determines whether the current stream can time out. (Inherited from ![]() |
![]() | CanWrite |
Always returns true.
(Overrides ![]() |
![]() | IsDisposed |
Returns true if the instance has been disposed, otherwise false.
|
![]() | Length |
Gets the number of bytes mapped (via the constructor).
(Overrides ![]() |
![]() | Position |
Gets or sets the current position (offset from the base address) in the stream.
(Overrides ![]() |
![]() | ![]() | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from ![]() |
See Also