When you request buffer of size N from `System.Buffers.MemoryPool<T>` returns `IMemoryOwner<T>` which can hold `Memory<T>` at least N elements. That proves to be a problem in some scenarios like passing serialized data back to your users. You need to pass them one more field: actual length of data. This pool will always trim `IMemory<T>` to requested length. It will also provide a property with an access to underlying buffer.

This is a prerelease version of progaudi.buffers.
Install-Package progaudi.buffers -Version
dotnet add package progaudi.buffers --version
<PackageReference Include="progaudi.buffers" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add progaudi.buffers --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 149 1/11/2019 148 1/11/2019 162 1/11/2019
2.0.1 254 1/11/2019
2.0.0 147 1/10/2019 143 1/10/2019
1.0.1 327 8/21/2018 156 8/21/2018
0.0.1 163 8/21/2018