Summary
Provides methods to read from a stream in small chunks at a time. Optionally suspends the thread for a specified
interval on every chunk.
Constructors
|
Initialises a new SlowStream instance. |
Instance methods
| void | | These members are not documented. |
| void | |
| int | Read(byte[] buffer, int offset, int count) |
Reads at most SlowStream.ChunkSize bytes from the underlying stream. |
| long | Seek(long offset, SeekOrigin origin) | These members are not documented. |
| void | |
| void | Write(byte[] buffer, int offset, int count) |
Instance properties
| bool | | These members are not documented. |
| bool | |
| bool | |
| int | | Gets or sets the current chunk size (number of bytes read at a time). |
| long | | These members are not documented. |
| long | |
| int | |
Gets or sets the current interval, in ms, for which the reading thread is suspended on every chunk. Defaults to 0,
which means no delay. |