Share via


IHybridCacheSerializer<T> Interface

Definition

Provides per-type serialization and deserialization support for HybridCache.

generic <typename T>
public interface class IHybridCacheSerializer
public interface IHybridCacheSerializer<T>
type IHybridCacheSerializer<'T> = interface
Public Interface IHybridCacheSerializer(Of T)

Type Parameters

T

The type being serialized/deserialized.

Methods

Deserialize(ReadOnlySequence<Byte>)

Deserializes a T value from the provided source.

Serialize(T, IBufferWriter<Byte>)

Serializes value to the provided target.

Applies to