Table of Contents

Namespace Nerdbank.Streams

Classes

BufferTextWriter

A TextWriter that writes to a reassignable instance of IBufferWriter<T>.

BufferWriterExtensions

Extension methods for the IBufferWriter<T> interface.

DuplexPipe

A basic implementation of IDuplexPipe.

FullDuplexStream

Provides a full duplex stream which may be shared by two parties to exchange messages.

HalfDuplexStream

A Stream that acts as a queue for bytes, in that what gets written to it can then be read from it, in order. This is actually a "simplex" stream -- not a half duplex stream. Naming bug.

MonitoringStream

A Stream that wraps another and reports all I/O taking place by raising events.

MultiplexingProtocolException

An exception that is thrown when an error occurs on the remote side of a multiplexed connection.

MultiplexingStream

Encodes multiple channels over a single transport.

MultiplexingStream.Channel

An individual channel within a MultiplexingStream.

MultiplexingStream.ChannelOfferEventArgs

Describes an offer for a channel.

MultiplexingStream.ChannelOptions

Describes local treatment of a channel.

MultiplexingStream.Options

Describes the options that a MultiplexingStream may be created with.

PipeExtensions

Stream extension methods.

PrefixingBufferWriter<T>

An IBufferWriter<T> that reserves some fixed size for a header.

ReadOnlySequenceExtensions

Extension methods for the ReadOnlySequence<T> type.

SequenceTextReader

A TextReader that reads from a reassignable instance of ReadOnlySequence<T>.

Sequence<T>

Manages a sequence of elements, readily castable as a ReadOnlySequence<T>.

SimplexStream

A Stream that acts as a queue for bytes, in that what gets written to it can then be read from it, in order.

StreamExtensions

Stream extension methods.

StreamPipeReader

A PipeReader that reads from an underlying Stream exactly when told to do so rather than constantly reading from the stream and buffering up the results.

Substream

A stream that writes substreams of arbitrary length. Created with WriteSubstream(Stream, int) and later read with ReadSubstream(Stream).

Structs

MultiplexingStream.QualifiedChannelId

The channel ID along with which party offered it.

Enums

MultiplexingStream.ChannelSource

An enumeration of the possible sources of a channel.

Delegates

MonitoringStream.ReadOnlySpanEventHandler

A delegate used for events that pass ReadOnlySpan<T> around.

MonitoringStream.SpanEventHandler

A delegate used for events that pass Span<T> around.