<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="11.0.0-preview.4.26230.115" />

Microsoft.Extensions.Caching.Distributed.IBufferDistributedCache

void Set(string key, ReadOnlySequence<byte> value, DistributedCacheEntryOptions options)

ValueTask SetAsync(string key, ReadOnlySequence<byte> value, DistributedCacheEntryOptions options, CancellationToken token = default)

bool TryGet(string key, IBufferWriter<byte> destination)

ValueTask<bool> TryGetAsync(string key, IBufferWriter<byte> destination, CancellationToken token = default)