![]() |
VOOZH | about |
dotnet add package Nerdbank.Streams --version 2.13.16
NuGet\Install-Package Nerdbank.Streams -Version 2.13.16
<PackageReference Include="Nerdbank.Streams" Version="2.13.16" />
<PackageVersion Include="Nerdbank.Streams" Version="2.13.16" />Directory.Packages.props
<PackageReference Include="Nerdbank.Streams" />Project file
paket add Nerdbank.Streams --version 2.13.16
#r "nuget: Nerdbank.Streams, 2.13.16"
#:package Nerdbank.Streams@2.13.16
#addin nuget:?package=Nerdbank.Streams&version=2.13.16Install as a Cake Addin
#tool nuget:?package=Nerdbank.Streams&version=2.13.16Install as a Cake Tool
Enhanced streams for communication in-proc or across the Internet.
SimplexStream is meant to allow two parties to communicate one direction.
Anything written to the stream can subsequently be read from it. You can share this Stream
with any two parties (in the same AppDomain) and one can send messages to the other.FullDuplexStream creates a pair of bidirectional streams for
in-proc two-way communication; it also creates a single bidirectional stream from two
unidirectional streams.MultiplexingStream allows you to split any bidirectional
.NET Stream into many sub-streams (called channels). This allows two parties to establish
just one transport stream (e.g. named pipe or web socket) and use it for many independent
protocols. For example, one might set up JSON-RPC on one channel and use other channels for
efficient binary transfers.AsStream() wraps a WebSocket, System.IO.Pipelines.PipeReader,
System.IO.Pipelines.PipeWriter, or System.IO.Pipelines.IDuplexPipe with a
System.IO.Stream for reading and/or writing.UsePipe() enables reading from
and writing to a Stream or WebSocket using the PipeReader and PipeWriter APIs.Stream.ReadSlice(long) creates a sub-stream that ends after
a given number of bytes.PipeReader.ReadSlice(long) creates a sub-PipeReader that ends after
a given number of bytes.MonitoringStream wraps another Stream and raises events for
all I/O calls so you can monitor and/or trace the data as it goes by.WriteSubstream and ReadSubstream allow you to serialize data of
an unknown length as part of a larger stream, and later deserialize it such in reading the
substream, you cannot read more bytes than were written to it.Sequence<T> is a builder for ReadOnlySequence<T>.PrefixingBufferWriter<T> wraps another IBufferWriter<T>
to allow for prefixing some header to the next written buffer, which may be arbitrarily long.BufferTextWriter is a TextWriter-derived type that can
write directly to any IBufferWriter<byte>, making it more reusable than StreamWriter
and thus allows for alloc-free writing across many writers.SequenceTextReader is a TextReader-derived type that can
read directly from any ReadOnlySequence<byte>, making it more reusable than StreamReader
and thus allows for alloc-free reading across many sequences.DuplexPipe is a trivial implementation of IDuplexPipe.Stream.ReadBlockAsync guarantees to fill the supplied buffer except under certain documented conditions, instead of the regular ReadAsync guarantee of supplying at least 1 byte.| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 is compatible. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Nerdbank.Streams:
| Package | Downloads |
|---|---|
|
StreamJsonRpc
A cross-platform .NETStandard library that implements the JSON-RPC wire protocol and can use System.IO.Stream, System.IO.Pipelines or WebSocket so you can use it with any transport. |
|
|
Microsoft.VisualStudio.Utilities
A member of the Visual Studio SDK |
|
|
Microsoft.VisualStudio.Shell.Framework
A member of the Visual Studio SDK |
|
|
Microsoft.VisualStudio.Shell.15.0
A member of the Visual Studio SDK |
|
|
Microsoft.VisualStudio.Imaging
A member of the Visual Studio SDK |
Showing the top 20 popular GitHub repositories that depend on Nerdbank.Streams:
| Repository | Stars |
|---|---|
|
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
|
|
|
MessagePack-CSharp/MessagePack-CSharp
Extremely Fast MessagePack Serializer for C#(.NET, .NET Core, Unity, Xamarin). / msgpack.org[C#]
|
|
|
BililiveRecorder/BililiveRecorder
录播姬 | mikufans 生放送录制
|
|
|
dotnet/interactive
.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
|
|
|
roslynpad/roslynpad
A cross-platform C# editor based on Roslyn and AvalonEdit
|
|
|
Nexus-Mods/NexusMods.App
Home of the development of the Nexus Mods App
|
|
|
microsoft/VSSDK-Extensibility-Samples
Samples for building your own Visual Studio extensions
|
|
|
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
|
|
|
dotnet/project-system
The .NET Project System for Visual Studio
|
|
|
microsoft/vs-streamjsonrpc
The StreamJsonRpc library offers JSON-RPC 2.0 over any .NET Stream, WebSocket, or Pipe. With bonus support for request cancellation, client proxy generation, and more.
|
|
|
mrlacey/Rapid-XAML-Toolkit
A collection of tools to accelerate XAML development within Visual Studio. These include XAML analysis, XAML generations, plus templates and helpers.
|
|
|
OmniSharp/csharp-language-server-protocol
Language Server Protocol in C#
|
|
|
RazorGenerator/RazorGenerator
A Custom Tool for Visual Studio that allows processing Razor files at design time instead of runtime, allowing them to be built into an assembly for simpler reuse and distribution.
|
|
|
microsoft/dev-tunnels
Dev Tunnels SDK
|
|
|
nats-io/nats.net
Async .NET client for NATS: pub/sub, request/reply, JetStream, KV, Object Store, Services
|
|
|
Texnomic/SecureDNS
Secure, Modern, Fully-Featured, All-In-One Cross-Architecture & Cross-Platform DNS Server Using .NET 10
|
|
|
AArnott/IronPigeon
IronPigeon is a decentralized communication protocol that provides high confidentiality and authenticity for the messages.
|
|
|
AArnott/Nerdbank.MessagePack
A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#]
|
|
|
X-Sharp/XSharpPublic
Public repository for the source code for the XSharp Compiler, Runtime, Project System and Tools.
|
|
|
galister/WlxOverlay
A simple OpenVR overlay for Wayland and X11 desktops
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.13.16 | 938,480 | 8/31/2025 |
| 2.12.90 | 24,857 | 7/29/2025 |
| 2.12.87 | 12,682,590 | 3/20/2025 |
| 2.12.84-alpha | 1,890 | 3/12/2025 |
| 2.12.74-alpha | 519 | 3/3/2025 |
| 2.11.92 | 2,627 | 3/19/2025 |
| 2.11.90 | 2,975,327 | 3/17/2025 |
| 2.11.86 | 208,241 | 3/3/2025 |
| 2.11.79 | 527,502 | 8/23/2024 |
| 2.11.74 | 1,189,012 | 5/6/2024 |
| 2.11.72 | 8,798 | 4/29/2024 |
| 2.10.72 | 240,760 | 10/3/2023 |
| 2.10.69 | 1,814,912 | 6/21/2023 |
| 2.10.66 | 234,927 | 6/7/2023 |
| 2.10.37-alpha | 1,016 | 1/10/2023 |
| 2.10.22-alpha | 602 | 12/21/2022 |
| 2.9.116 | 5,677 | 6/7/2023 |
| 2.9.112 | 978,428 | 9/28/2022 |
| 2.9.109 | 321,478 | 9/26/2022 |
| 2.8.65 | 4,065 | 9/5/2022 |