Table of Contents

Namespace NanoByte.Common.Streams

Filter streams and utility classes with helper functions for stream handling.

Classes

DelegatingStream

Forwards all requests to another System.IO.Streams. Useful as a base class for decorators/wrappers.

NonSeekableStream

Decorator that prevents a stream from being seeked.

OffsetStream

Decorator that transparently applies an offset to another System.IO.Stream.

ProgressStream

Decorator that adds progress-tracking and cancellation to another System.IO.Stream.

ReadStream

Reads the contents of a stream.

SeekBufferStream

Decorator that adds seek buffering to another System.IO.Stream.

ShadowingStream

Decorator that copies all bytes read from a System.IO.Stream to another System.IO.Stream.

StreamConsumer

Continuously reads lines from a System.IO.StreamReader using a background thread while providing them to a foreground thread on demand.

StreamUtils

Provides System.IO.Stream-related helper methods.