API
MemoryPool<T>.Rent
Obtains a disposable memory owner.
Formal Syntax & Structure
csharp syntaxcsharp
using var owner = MemoryPool<byte>.Shared.Rent(16);Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.using var owner = MemoryPool<byte>.Shared.Rent(16);