The following tables list the members exposed by RandomAccess.

Protected Constructors

  Name Description
Family method RandomAccess Initializes a new instance of the RandomAccess class.
Top

Public Properties

  Name Description
Public property CanRead When overridden in a derived class, gets a value indicating whether the current stream supports reading. (inherited from Stream)
Public property CanSeek When overridden in a derived class, gets a value indicating whether the current stream supports seeking. (inherited from Stream)
Public property CanTimeout Gets a value that determines whether the current stream can time out. (inherited from Stream)
Public property CanWrite When overridden in a derived class, gets a value indicating whether the current stream supports writing. (inherited from Stream)
Public property Length When overridden in a derived class, gets the length in bytes of the stream. (inherited from Stream)
Public property Position When overridden in a derived class, gets or sets the position within the current stream. (inherited from Stream)
Public property ReadTimeout Gets or sets a value that determines how long the stream will attempt to read before timing out. (inherited from Stream)
Public property WriteTimeout Gets or sets a value that determines how long the stream will attempt to write before timing out. (inherited from Stream)
Top

Protected Properties

  Name Description
Family property BaseStream   (inherited from ArrayDataIO)
Top

Public 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. Releases all resources used by the Stream object. (inherited from Stream)
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 Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method Flush When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device. (inherited from Stream)
Public method GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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 Overloaded. Read a complete primitive array (inherited from ArrayDataIO)
Public method ReadArray   (inherited from ArrayDataIO)
Public method ReadBoolean   (inherited from ArrayDataIO)
Public method ReadByte 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 Stream)
Public method ReadChar   (inherited from ArrayDataIO)
Public method ReadDouble   (inherited from ArrayDataIO)
Public method ReadInt16   (inherited from ArrayDataIO)
Public method ReadInt32   (inherited from ArrayDataIO)
Public method ReadInt64   (inherited from ArrayDataIO)
Public method ReadSByte   (inherited from ArrayDataIO)
Public method ReadSingle   (inherited from ArrayDataIO)
Public method Seek Overloaded. When overridden in a derived class, sets the position within the current stream. (inherited from ArrayDataIO)
Public method SetLength When overridden in a derived class, sets the length of the current stream. (inherited from Stream)
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Public method Write Overloaded. When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. (inherited from ArrayDataIO)
Public method WriteArray   (inherited from ArrayDataIO)
Public method WriteByte Writes a byte to the current position in the stream and advances the position within the stream by one byte. (inherited from Stream)
Top

Protected Methods

  Name Description
Family method CreateWaitHandle Allocates a WaitHandle object. (inherited from Stream)
Family method Dispose Overloaded. Releases all resources used by the Stream object. (inherited from Stream)
Family 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)
Family method MemberwiseClone Overloaded. Creates a shallow copy of the current Object. (inherited from MarshalByRefObject)
Top

See Also