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.38 | 16,523 | 10/14/2026 |
| 4.0.37 | 330 | 10/14/2026 |
| 4.0.32 | 10,470 | 10/13/2026 |
| 4.0.31 | 89 | 10/12/2026 |
| 4.0.30 | 22,746 | 10/11/2026 |
| 4.0.29 | 94,015 | 9/24/2026 |
| 4.0.28 | 28,858 | 9/15/2026 |
| 4.0.27 | 27,378 | 9/14/2026 |
| 4.0.26 | 135,321 | 8/30/2026 |
| 4.0.25 | 6,958 | 8/29/2026 |
| 4.0.24 | 183,192 | 7/27/2026 |
| 4.0.23 | 84,862 | 7/16/2026 |
| 4.0.22 | 114,025 | 6/18/2026 |
| 4.0.20 | 108,898 | 6/5/2026 |
| 4.0.19 | 148,771 | 4/23/2026 |
| 4.0.18 | 149,293 | 3/12/2026 |
| 4.0.14 | 35,573 | 3/10/2026 |
| 4.0.13 | 20,229 | 3/9/2026 |
| 4.0.12 | 354 | 3/9/2026 |
| 4.0.11 | 40,699 | 3/4/2026 |
Improve README documentation