Nerdbank.Streams 2.12.84-alpha

Prefix Reserved
This is a prerelease version of Nerdbank.Streams.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Nerdbank.Streams --version 2.12.84-alpha
                    
NuGet\Install-Package Nerdbank.Streams -Version 2.12.84-alpha
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nerdbank.Streams" Version="2.12.84-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nerdbank.Streams" Version="2.12.84-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Nerdbank.Streams" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Nerdbank.Streams --version 2.12.84-alpha
                    
#r "nuget: Nerdbank.Streams, 2.12.84-alpha"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Nerdbank.Streams&version=2.12.84-alpha&prerelease
                    
Install Nerdbank.Streams as a Cake Addin
#tool nuget:?package=Nerdbank.Streams&version=2.12.84-alpha&prerelease
                    
Install Nerdbank.Streams as a Cake Tool

Specialized .NET Stream classes

Enhanced streams for communication in-proc or across the Internet.

Features

  1. 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.
  2. FullDuplexStream creates a pair of bidirectional streams for in-proc two-way communication; it also creates a single bidirectional stream from two unidirectional streams.
  3. 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.
  4. 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.
  5. UsePipe() enables reading from and writing to a Stream or WebSocket using the PipeReader and PipeWriter APIs.
  6. Stream.ReadSlice(long) creates a sub-stream that ends after a given number of bytes.
  7. PipeReader.ReadSlice(long) creates a sub-PipeReader that ends after a given number of bytes.
  8. 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.
  9. 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.
  10. Sequence<T> is a builder for ReadOnlySequence<T>.
  11. PrefixingBufferWriter<T> wraps another IBufferWriter<T> to allow for prefixing some header to the next written buffer, which may be arbitrarily long.
  12. 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.
  13. 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.
  14. DuplexPipe is a trivial implementation of IDuplexPipe.
  15. 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 Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (38)

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.Imaging

A member of the Visual Studio SDK

Microsoft.VisualStudio.Shell.15.0

A member of the Visual Studio SDK

GitHub repositories (22)

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/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.
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
OmniSharp/csharp-language-server-protocol
Language Server Protocol in C#
dotnet/razor
Compiler and tooling experience for Razor ASP.NET Core apps in Visual Studio, Visual Studio for Mac, and VS Code.
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
Texnomic/SecureDNS
Secure, Modern, Fully-Featured, All-In-One Cross-Architecture & Cross-Platform DNS Server Using .NET 8.0
nats-io/nats.net
Full Async C# / .NET client for NATS
AArnott/IronPigeon
IronPigeon is a decentralized communication protocol that provides high confidentiality and authenticity for the messages.
microsoft/dev-tunnels-ssh
SSH library for dev-tunnels
galister/WlxOverlay
A simple OpenVR overlay for Wayland and X11 desktops
Version Downloads Last updated
2.12.87 14,748 a month ago
2.12.84-alpha 1,459 a month ago
2.12.74-alpha 311 2 months ago
2.11.92 678 a month ago
2.11.90 97,124 a month ago
2.11.86 10,593 2 months ago
2.11.79 213,967 8 months ago
2.11.74 525,938 5/6/2024
2.11.72 7,304 4/29/2024
2.10.72 125,905 10/3/2023
2.10.69 1,049,680 6/21/2023
2.10.66 156,805 6/7/2023
2.10.37-alpha 767 1/10/2023
2.10.22-alpha 347 12/21/2022
2.9.116 3,110 6/7/2023
2.9.112 713,140 9/28/2022
2.9.109 206,758 9/26/2022
2.9.91-alpha 1,451 7/22/2022
2.9.87-alpha 38,908 7/2/2022
2.9.71-alpha 430 6/1/2022
2.9.47-alpha 1,035 1/20/2022
2.9.45-alpha 833 1/11/2022
2.8.65 3,345 9/5/2022
2.8.61 175,801 7/2/2022
2.8.57 1,342,742 1/24/2022
2.8.54 105,367 11/18/2021
2.8.50 5,328 11/2/2021
2.8.46 56,441 7/29/2021
2.8.22-alpha 800 5/20/2021
2.7.74 76,040 4/26/2021
2.7.62-alpha 464 3/30/2021
2.6.81 2,563,797 10/2/2020
2.6.78 12,128 9/21/2020
2.6.77 242,244 9/19/2020
2.6.37-alpha 10,205 7/30/2020
2.5.76 223,626 7/30/2020
2.5.72 2,813 7/21/2020
2.5.70 33,884 7/14/2020
2.5.65 5,329 7/9/2020
2.5.60 7,677 5/9/2020
2.5.58 46,185 5/8/2020
2.5.57-alpha 812 4/24/2020
2.5.50-alpha 1,162 3/26/2020
2.5.19-alpha 726 12/9/2019
2.4.73 149,465 4/24/2020
2.4.67 1,582 4/15/2020
2.4.60 226,400 2/24/2020
2.4.59 1,285 2/16/2020
2.4.57 126,876 2/9/2020
2.4.50 5,481 12/9/2019
2.4.48 11,886 11/16/2019
2.4.46 100,576 11/6/2019
2.4.37 3,222 10/3/2019
2.4.32 210,006 10/2/2019
2.4.30-alpha 620 9/26/2019
2.4.27-alpha 634 9/23/2019
2.4.20-alpha 618 9/22/2019
2.4.12-alpha 1,994 9/21/2019
2.3.32 48,480 9/7/2019
2.3.30 829 9/7/2019
2.3.26 130,934 8/2/2019
2.3.25-alpha 3,355 7/31/2019
2.3.23-alpha 675 7/31/2019
2.3.21-alpha 633 7/31/2019
2.3.18-alpha 657 7/29/2019
2.2.43 2,552 7/31/2019
2.2.42 1,446 7/16/2019
2.2.38 3,814 7/7/2019
2.2.26 80,555 6/2/2019
2.2.24-rc 673 6/2/2019
2.2.5-alpha 715 5/20/2019
2.1.37 309,206 3/29/2019
2.1.28-beta 14,129 3/21/2019
2.1.23-beta 633 3/18/2019
2.1.11-alpha 818 3/10/2019
2.1.9-alpha 631 3/9/2019
2.1.6-alpha 671 3/8/2019
2.1.4-alpha 668 3/7/2019
2.1.2-alpha 1,067 2/12/2019
2.0.228 1,098 3/21/2019
2.0.225 4,300 3/9/2019
2.0.214 24,749 1/27/2019
2.0.206 29,288 12/15/2018
2.0.202-rc 756 12/14/2018
2.0.198-beta 86,923 11/28/2018
2.0.188-beta 22,436 9/25/2018
2.0.165-beta 1,074 9/15/2018
2.0.163-beta 865 9/9/2018
2.0.152-beta 823 9/1/2018
2.0.112-rc 1,779 8/26/2018
2.0.95-beta 886 8/17/2018
2.0.91-beta 891 8/16/2018
2.0.83-beta 903 8/10/2018
2.0.67-beta 909 8/3/2018
2.0.61-beta 898 7/24/2018
2.0.54-beta 953 7/23/2018
2.0.20-beta 1,064 7/13/2018
2.0.2-beta 1,063 7/9/2018