Export (0) Print
Expand All

UnmanagedMemoryStream Members

Provides access to unmanaged blocks of memory from managed code.

The following tables list the members exposed by the UnmanagedMemoryStream type.

(see also Protected Constructors )
  Name Description
Public method UnmanagedMemoryStream Overloaded. Initializes a new instance of the UnmanagedMemoryStream class.
Top

  Name Description
Protected method UnmanagedMemoryStream Overloaded. Initializes a new instance of the UnmanagedMemoryStream class.
Top

  Name Description
Public property CanRead Overridden. Gets a value indicating whether a stream supports reading.
Public property CanSeek Overridden. Gets a value indicating whether a stream supports seeking.
Public property CanTimeout  Gets a value that determines whether the current stream can time out.(inherited from Stream)
Public property CanWrite Overridden. Gets a value indicating whether a stream supports writing.
Public property Capacity Gets the stream length (size) or the total amount of memory assigned to a stream (capacity).
Public property Length Overridden. Gets the length of the data in a stream.
Public property Position Overridden. Gets or sets the current position in a stream.
Public property PositionPointer Gets or sets a byte pointer to a stream based on the current position in the stream.
Public property ReadTimeout  Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (inherited from Stream)
Public property WriteTimeout  Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (inherited from Stream)
Top

(see also Protected Methods )
  Name Description
Public method BeginRead  Begins an asynchronous read operation. (inherited from Stream)
Public method BeginWrite  Begins an asynchronous write operation. (inherited from Stream)
Public method Close  Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. (inherited from Stream)
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method Dispose Overloaded.  
Public method EndRead  Waits for the pending asynchronous read to complete. (inherited from Stream)
Public method EndWrite  Ends an asynchronous write operation. (inherited from Stream)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Flush Overridden. Overrides the Flush method so that no action is performed.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Read Overridden. Reads the specified number of bytes into the specified array.
Public method ReadByte Overridden. Reads a byte from a stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Seek Overridden. Sets the current position of the current stream to the given value.
Public method SetLength Overridden. Sets the length of a stream to a specified value.
Public method Static Synchronized  Creates a thread-safe (synchronized) wrapper around the specified Stream object. (inherited from Stream)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Write Overridden. Writes a block of bytes to the current stream using data from a buffer.
Public method WriteByte Overridden. Writes a byte to the current position in the file stream.
Top

  Name Description
Protected method CreateWaitHandle  Allocates a WaitHandle object. (inherited from Stream)
Protected method Dispose Overloaded. Overridden.  
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Initialize Initializes a new instance of the UnmanagedMemoryStream class.
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Top

Community Additions

ADD
Show:
© 2014 Microsoft