# Microsoft.Extensions.Caching.Distributed

``` diff
 namespace Microsoft.Extensions.Caching.Distributed {
+    public interface IBufferDistributedCache : IDistributedCache {
+        void Set(string key, ReadOnlySequence<byte> value, DistributedCacheEntryOptions options);
+        ValueTask SetAsync(string key, ReadOnlySequence<byte> value, DistributedCacheEntryOptions options, CancellationToken token = default(CancellationToken));
+        bool TryGet(string key, IBufferWriter<byte> destination);
+        ValueTask<bool> TryGetAsync(string key, IBufferWriter<byte> destination, CancellationToken token = default(CancellationToken));
+    }
 }
```

