Export (0) Print
Expand All

BufferedStream Members

Adds a buffering layer to read and write operations on another stream. This class cannot be inherited.

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

  Name Description
Public method BufferedStream Overloaded. Initializes a new instance of the BufferedStream class.
Top

  Name Description
Public property CanRead Overridden. Gets a value indicating whether the current stream supports reading.
Public property CanSeek Overridden. Gets a value indicating whether the current 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 the current stream supports writing.
Public property Length Overridden. Gets the stream length in bytes.
Public property Position Overridden. Gets the position within the current 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

  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  Releases all resources used by the Stream. (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  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Flush Overridden. Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
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. Copies bytes from the current buffered stream to an array.
Public method ReadByte Overridden. Reads a byte from the underlying stream and returns the byte cast to an int, or returns -1 if reading from 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 position within the current buffered stream.
Public method SetLength Overridden. Sets the length of the buffered stream.
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. Copies bytes to the buffered stream and advances the current position within the buffered stream by the number of bytes written.
Public method WriteByte Overridden. Writes a byte to the current position in the buffered stream.
Top

Community Additions

ADD
Show:
© 2014 Microsoft