Table of Contents

Class StreamOverStream

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Implements stream which calls events after read/write operations. This class can be used for the debug purposes.

public class StreamOverStream : Stream, IDisposable
Inheritance
StreamOverStream
Implements
Extension Methods

Constructors

StreamOverStream(Stream?)

Initializes a new instance of the StreamOverStream class.

Properties

BaseStream

Gets or sets stream used to perform read/write operations.

CanRead
CanSeek
CanWrite
Length
Position

Methods

Flush()
Read(byte[], int, int)
Seek(long, SeekOrigin)
SetLength(long)
Write(byte[], int, int)

Events

AfterRead

Occurs after read operation is performed in this object.

AfterWrite

Occurs after write operation is performed in this object.

GlobalAfterRead

Occurs after read operation is performed in any StreamOverStream object.

GlobalAfterWrite

Occurs after write operation is performed in any StreamOverStream object.