Soenneker.Utils.ReusableStringWriter
4.0.25
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Utils.ReusableStringWriter --version 4.0.25
NuGet\Install-Package Soenneker.Utils.ReusableStringWriter -Version 4.0.25
<PackageReference Include="Soenneker.Utils.ReusableStringWriter" Version="4.0.25" />
<PackageVersion Include="Soenneker.Utils.ReusableStringWriter" Version="4.0.25" />
<PackageReference Include="Soenneker.Utils.ReusableStringWriter" />
paket add Soenneker.Utils.ReusableStringWriter --version 4.0.25
#r "nuget: Soenneker.Utils.ReusableStringWriter, 4.0.25"
#:package Soenneker.Utils.ReusableStringWriter@4.0.25
#addin nuget:?package=Soenneker.Utils.ReusableStringWriter&version=4.0.25
#tool nuget:?package=Soenneker.Utils.ReusableStringWriter&version=4.0.25
Soenneker.Utils.ReusableStringWriter
A high-performance, reusable StringWriter that avoids unnecessary allocations by clearing and reusing its internal StringBuilder instance.
Installation
dotnet add package Soenneker.Utils.ReusableStringWriter
Quick start
using Soenneker.Utils.ReusableStringWriter;
Create a ReusableStringWriter instance, then use the operation you need below.
Common operations
Reset()- Clears the internal buffer to prepare the writer for reuse.Finish()- Returns the accumulated string and leaves the internal buffer intact.
| 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. |
-
net10.0
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Soenneker.Utils.ReusableStringWriter:
| Package | Downloads |
|---|---|
|
Serilog.Sinks.XUnit.Injectable
The injectable, xUnit test output sink for Serilog |
|
|
Soenneker.Serilog.Sinks.TUnit
A Serilog sink for logging within TUnit |
|
|
Soenneker.Serilog.Sinks.Browser.Blazor
A Serilog sink for logging within the Blazor client-side environment |
|
|
Soenneker.Serilog.Sinks.Cache
A Serilog sink cache that allows for storing, retrieving, and removing log messages |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.26 | 21,540 | 8/30/2026 |
| 4.0.25 | 6,794 | 8/29/2026 |
| 4.0.24 | 180,217 | 7/27/2026 |
| 4.0.23 | 81,250 | 7/16/2026 |
| 4.0.22 | 112,177 | 6/18/2026 |
| 4.0.20 | 108,558 | 6/5/2026 |
| 4.0.19 | 148,020 | 4/23/2026 |
| 4.0.18 | 141,186 | 3/12/2026 |
| 4.0.14 | 33,979 | 3/10/2026 |
| 4.0.13 | 20,210 | 3/9/2026 |
| 4.0.12 | 339 | 3/9/2026 |
| 4.0.11 | 40,680 | 3/4/2026 |
| 4.0.10 | 2,526 | 3/4/2026 |
| 4.0.9 | 174,487 | 1/2/2026 |
| 4.0.8 | 71,967 | 11/20/2025 |
| 4.0.7 | 34,957 | 11/6/2025 |
| 4.0.6 | 19,500 | 10/29/2025 |
| 3.0.5 | 96,147 | 9/3/2025 |
| 3.0.4 | 26,121 | 8/11/2025 |
| 3.0.3 | 25,770 | 7/23/2025 |
Improve README documentation