Soenneker.Extensions.Stream
4.0.142
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.142
NuGet\Install-Package Soenneker.Extensions.Stream -Version 4.0.142
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.142" />
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.142" />
<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.142
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Extensions.Stream, 4.0.142"
#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.142
#: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.142
#tool nuget:?package=Soenneker.Extensions.Stream&version=4.0.142
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.127)
- 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.Cosmos.Serializer
A fast, lightweight JSON (de)serializer for Azure Cosmos DB |
|
|
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 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.145 | 0 | 8/30/2026 |
| 4.0.144 | 0 | 8/30/2026 |
| 4.0.143 | 0 | 8/30/2026 |
| 4.0.142 | 0 | 8/30/2026 |
| 4.0.141 | 48 | 8/29/2026 |
| 4.0.140 | 45 | 8/29/2026 |
| 4.0.139 | 85 | 8/29/2026 |
| 4.0.138 | 12,455 | 8/25/2026 |
| 4.0.137 | 92,178 | 8/8/2026 |
| 4.0.136 | 54,569 | 7/28/2026 |
| 4.0.135 | 559 | 7/28/2026 |
| 4.0.134 | 1,704 | 7/27/2026 |
| 4.0.133 | 53,958 | 7/18/2026 |
| 4.0.132 | 27,920 | 7/16/2026 |
| 4.0.130 | 103,305 | 6/19/2026 |
| 4.0.129 | 2,003 | 6/18/2026 |
| 4.0.128 | 9,527 | 6/18/2026 |
| 4.0.127 | 90,339 | 6/5/2026 |
| 4.0.126 | 3,011 | 6/5/2026 |
| 4.0.125 | 240 | 6/5/2026 |
Loading failed
Update dependency Soenneker.Extensions.Task to 4.0.127 (#286)