![]() |
VOOZH | about |
dotnet add package Soenneker.Utils.PooledStringBuilders --version 4.0.25
NuGet\Install-Package Soenneker.Utils.PooledStringBuilders -Version 4.0.25
<PackageReference Include="Soenneker.Utils.PooledStringBuilders" Version="4.0.25" />
<PackageVersion Include="Soenneker.Utils.PooledStringBuilders" Version="4.0.25" />Directory.Packages.props
<PackageReference Include="Soenneker.Utils.PooledStringBuilders" />Project file
paket add Soenneker.Utils.PooledStringBuilders --version 4.0.25
#r "nuget: Soenneker.Utils.PooledStringBuilders, 4.0.25"
#:package Soenneker.Utils.PooledStringBuilders@4.0.25
#addin nuget:?package=Soenneker.Utils.PooledStringBuilders&version=4.0.25Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.PooledStringBuilders&version=4.0.25Install as a Cake Tool
π alternate text is missing from this package README image
π alternate text is missing from this package README image
π alternate text is missing from this package README image
π alternate text is missing from this package README image
Tiny, fast ref struct string builder.
Backed by ArrayPool<char>. Low allocations. Short-lived use.
dotnet add package Soenneker.Utils.PooledStringBuilders
using Soenneker.Utils.PooledStringBuilders;
using var sb = new PooledStringBuilder(128);
sb.Append("Hello, ");
sb.Append(name);
sb.Append(' ');
sb.Append(id); // ISpanFormattable path, no boxing
sb.AppendLine();
string s = sb.ToString(); // returns string + returns buffer
new PooledStringBuilder(int capacity = 128)Append(char), Append(string?), Append(ReadOnlySpan<char>)Append<T>(T value, ReadOnlySpan<char> fmt = default, IFormatProvider? prov = null) where T : ISpanFormattableAppendSpan(int length) ? write directly into the bufferAppendLine(), AppendSeparatorIfNotEmpty(char)Length, Capacity, Clear()ToString() (keep using; you must Dispose() later)ToStringAndDispose(bool clear = false) (one-shot finish)Dispose() / Dispose(bool clear)ref struct ? stack-only. DonοΏ½t capture, box, store in fields, or cross await.using should be used, or there is ToStringAndDispose(). Don't use both.ToStringAndDispose(clear: true) to zero the array before returning to the pool.| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on Soenneker.Utils.PooledStringBuilders:
| Package | Downloads |
|---|---|
|
Soenneker.Redis.Util
The general purpose utility library leveraging Redis for all of your caching needs |
|
|
Soenneker.Cosmos.Repository
A data persistence abstraction layer for Cosmos DB |
|
|
Soenneker.Extensions.Spans.Readonly.Chars
A collection of helpful ReadOnlySpan (char) extension methods |
|
|
Soenneker.Extensions.HttpContent
A collection of helpful HttpContent extension methods |
|
|
Soenneker.Utils.Dotnet
A utility library for the dotnet executable |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.25 | 0 | 6/18/2026 |
| 4.0.22 | 419,213 | 4/23/2026 |
| 4.0.21 | 240,967 | 3/14/2026 |
| 4.0.16 | 114,589 | 3/10/2026 |
| 4.0.15 | 56,616 | 3/9/2026 |
| 4.0.14 | 681 | 3/9/2026 |
| 4.0.13 | 91,863 | 3/4/2026 |
| 4.0.12 | 142,277 | 2/21/2026 |
| 4.0.11 | 4,986 | 2/21/2026 |
| 4.0.10 | 92,122 | 2/4/2026 |
| 4.0.9 | 94,504 | 1/8/2026 |
| 4.0.8 | 17,946 | 1/2/2026 |
| 4.0.7 | 36,903 | 11/20/2025 |
| 4.0.6 | 24,904 | 10/29/2025 |
| 3.0.5 | 3,296 | 10/23/2025 |
| 3.0.4 | 35,705 | 9/16/2025 |
| 3.0.3 | 357 | 9/16/2025 |
| 3.0.2 | 1,656 | 9/15/2025 |
| 3.0.1 | 334 | 9/15/2025 |
Update actions/checkout action to v7 (#216)
Automatically merged