Mono Class Library: Overview

System.IO.Stream: Method Members

The methods of System.IO.Stream are listed below. For a list of all members, see the Stream Members list.

See Also: Inherited members from System.MarshalByRefObject

Public Methods

BeginRead(byte[], int, int, AsyncCallback, object) : IAsyncResult
Begins an asynchronous read operation.
BeginWrite(byte[], int, int, AsyncCallback, object) : IAsyncResult
Begins an asynchronous write operation.
Close()
Closes the current stream and releases any resources associated with the current stream.
Dispose()
Documentation for this section has not yet been entered.
EndRead(IAsyncResult) : int
Ends a pending asynchronous read request.
EndWrite(IAsyncResult)
Ends an asynchronous write operation.
abstract
Flush()
Flushes the internal buffer.
abstract
Read(byte[], int, int) : int
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
ReadByte() : int
Reads a byte from the stream and advances the position within the stream by one byte.
abstract
Seek(long, SeekOrigin) : long
Changes the position within the current stream by the given offset, which is relative to the stated origin.
abstract
SetLength(long)
Sets the length of the current stream.
static
Synchronized(Stream) : Stream
Documentation for this section has not yet been entered.
abstract
Write(byte[], int, int)
Writes a sequence of bytes to the current stream and advances the current position within the current stream by the number of bytes written.
WriteByte(byte)
Writes a byte to the current position in the stream and advances the position within the stream by one byte.

Protected Methods

CreateWaitHandle() : System.Threading.WaitHandle
Allocates a System.Threading.WaitHandle object.
Dispose(bool)
Documentation for this section has not yet been entered.