Overview
Nerdbank.Streams is a .NET library with a collection of APIs to make using the streaming/pipelines/buffers APIs of .NET easier.
Install it from NuGet:
dotnet add package Nerdbank.Streams
Highlights
- SimplexStream provides one-way in-process communication between two parties.
- FullDuplexStream creates bidirectional streams for two-way in-process communication.
- MultiplexingStream splits one transport stream into multiple independent channels.
- AsStream adapts websockets and pipelines to familiar stream APIs.
- Sequence efficiently builds segmented byte sequences.
- SharedMemoryDuplexPipe transfers bytes between trusted processes without a kernel copy.
See Features for the full list.
Getting started
Get started with installation and a first example.