BufferedStream Methods
Collapse the table of content
Expand the table of content

BufferedStream 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  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. 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 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.

Community Additions

© 2016 Microsoft