[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Provides a generic view of a sequence of bytes. [Property] @Position=When overridden in a derived class, gets or sets the position within the current stream. ARG(long)|2| @ReadTimeout=Sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. ARG(int)|1|0 @WriteTimeout=Sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. ARG(int)|1|0 [Methods] *doBeginRead=Begins an asynchronous read operation. ARG(byte[] buffer, int offset, int count, AsyncCallback callback, Object state)|1|0 *doBeginWrite=Begins an asynchronous write operation. ARG(byte[] buffer, int offset, int count, AsyncCallback callback, Object state)|1|0 *doClose=Closes the current stream and releases any resources associated with the current stream. ARG()|1|0 *doCopyTo=Reads the bytes from the current stream and writes them to the destination stream. ARG(Stream destination)|1|0 *doCopyTo2=Reads all the bytes from the current stream and writes them to a destination stream, using a specified buffer size. ARG(Stream destination, int bufferSize)|1|0 *doDispose=Releases all resources used by the Stream. ARG()|1|0 *doEndRead=Waits for the pending asynchronous read to complete. ARG(IAsyncResult asyncResult)|1|0 *doEndWrite=Ends an asynchronous write operation. ARG(IAsyncResult asyncResult)|1|0 *doFlush=Clears all buffers for this stream and causes any buffered data to be written to the underlying device. ARG()|1|0 *doRead=Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. ARG(byte[] buffer, int offset, int count)|1|0 *doSeek=Sets the position within the current stream. ARG(long offset, SeekOrigin origin)|1|0 *doSetLength=Sets the length of the current stream. ARG(long value)|1|0 *doSynchronized=Creates a thread-safe wrapper around the specified Stream object. ARG(Stream stream)|1|0 *doWrite=Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. ARG(byte[] buffer, int offset, int count)|1|0 *doWriteByte=Writes a byte to the current position in the stream and advances the position within the stream by one byte. ARG(byte value)|1|0 *onBeginRead=Occurs after invoke the method doBeginRead and returns the result. ARG(IAsyncResult)|2|0 *onBeginWrite=Occurs after invoke the method doBeginWrite and returns the result. ARG(IAsyncResult)|2|0 *onEndRead=Occurs after invoke the method doEndRead and returns the result. ARG(int)|2|1 *onRead=Occurs after invoke the method doRead and returns the result. ARG(int)|2|1 *onSeek=Occurs after invoke the method doSeek and returns the result. ARG(long)|2|105 *onSynchronized=Occurs after invoke the method doSynchronized and returns the result. ARG(Stream)|2|10 *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. ARG(int)|3|1 *CanRead=Returns a value indicating whether the current stream supports reading. ARG(bool)|3|104 *CanSeek=Returns a value indicating whether the current stream supports seeking. ARG(bool)|3|104 *CanTimeout=Returns a value that determines whether the current stream can time out. ARG(bool)|3|104 *CanWrite=Returns a value indicating whether the current stream supports writing. ARG(bool)|3|104 *Length=Returns the length in bytes of the stream. ARG(long)|3|105 *Position=Returns or sets the position within the current stream. ARG(long)|3|105 *ReadTimeout=Returns a value, in miliseconds, that determines how long the stream will attempt to read before timing out. ARG(int)|3|1 *WriteTimeout=Returns a value, in miliseconds, that determines how long the stream will attempt to write before timing out. ARG(int)|3|1 *Null=Returns a Stream with no backing store. ARG(Stream)|3|10 *buffer=Defines the buffer to read the data into. ARG(byte[])|4|13 *offset=Defines the byte offset in buffer at which to begin writing data read from the stream. ARG(int)|4|1 *count=Defines the maximum number of bytes to read. ARG(int)|4|1 *callback=Defines an optional asynchronous callback, to be called when the read is complete. ARG(AsyncCallback)|4|0 *state=Defines a user-provided object that distinguishes this particular asynchronous read request from other requests. ARG(Object)|4|0 *destination=Defines the stream that will contain the contents of the current stream. ARG(Stream)|4|10 *bufferSize=Defines the size of the buffer. This value must be greater than zero. The default size is 4096. ARG(int)|4|1 *origin=Defines a value of type SeekOrigin indicating the reference point used to obtain the new position. ARG(SeekOrigin)|4|0