DotNext by .NET Foundation and Contributors

<PackageReference Include="DotNext" Version="4.12.4" />

 PooledArrayBufferWriter

using System.Diagnostics.Metrics; namespace DotNext.Buffers { internal static class PooledArrayBufferWriter { internal static readonly Histogram<long> AllocationMeter; static PooledArrayBufferWriter() { AllocationMeter = new Meter("DotNext.Buffers.PooledArrayBuffer").CreateHistogram<long>("capacity", "Capacity", (string)null); } } }