Soenneker.Extensions.Stream
4.0.140
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Extensions.Stream --version 4.0.140
NuGet\Install-Package Soenneker.Extensions.Stream -Version 4.0.140
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="Soenneker.Extensions.Stream" Version="4.0.140" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Extensions.Stream" Version="4.0.140" />
<PackageReference Include="Soenneker.Extensions.Stream" />
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 Soenneker.Extensions.Stream --version 4.0.140
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Extensions.Stream, 4.0.140"
#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.
#:package Soenneker.Extensions.Stream@4.0.140
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Extensions.Stream&version=4.0.140
#tool nuget:?package=Soenneker.Extensions.Stream&version=4.0.140
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Extensions.Stream
A collection of helpful Stream extension methods.
Installation
dotnet add package Soenneker.Extensions.Stream
Quick start
using Soenneker.Extensions.Stream;
// Given an existing System.IO.Stream named stream:
var result = stream.ToStart();
Common operations
ToStart()- Sets a seekable stream's position to zero and returns the same stream for fluent use.ToStrSync()- Reads the remaining stream contents as UTF-8.ToStr()- Reads the remaining stream contents as UTF-8.TryGetTotalLength()- ReturnsLengthfor a seekable stream, ornullwhen seeking or length access is unavailable.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Soenneker.Extensions.Task (>= 4.0.125)
- Soenneker.Extensions.ValueTask (>= 4.0.118)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on Soenneker.Extensions.Stream:
| Package | Downloads |
|---|---|
|
Soenneker.Utils.File
A utility library encapsulating asynchronous file IO operations |
|
|
Soenneker.Utils.FileSync
A utility library encapsulating synchronous file IO operations |
|
|
Soenneker.Extensions.HttpContent
A collection of helpful HttpContent extension methods |
|
|
Soenneker.Blob.Download
A utility library for Azure Blob download operations |
|
|
Soenneker.HttpClients.LoggingHandler
A handler that allows for injecting into HttpClients to log requests and responses |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.151 | 16,261 | 9/12/2026 |
| 4.0.150 | 337 | 9/12/2026 |
| 4.0.149 | 132 | 9/12/2026 |
| 4.0.148 | 52,495 | 9/7/2026 |
| 4.0.147 | 44,922 | 9/4/2026 |
| 4.0.146 | 59,781 | 8/30/2026 |
| 4.0.145 | 1,812 | 8/30/2026 |
| 4.0.144 | 162 | 8/30/2026 |
| 4.0.143 | 11,509 | 8/30/2026 |
| 4.0.142 | 407 | 8/30/2026 |
| 4.0.141 | 8,847 | 8/29/2026 |
| 4.0.140 | 113 | 8/29/2026 |
| 4.0.139 | 1,202 | 8/29/2026 |
| 4.0.138 | 41,426 | 8/25/2026 |
| 4.0.137 | 93,067 | 8/8/2026 |
| 4.0.136 | 54,692 | 7/28/2026 |
| 4.0.135 | 571 | 7/28/2026 |
| 4.0.134 | 1,714 | 7/27/2026 |
| 4.0.133 | 54,021 | 7/18/2026 |
| 4.0.132 | 27,930 | 7/16/2026 |
Loading failed
Improve XML documentation