Redigera

Dela via


IBaseCodec<T> Interface

Definition

Functionality for serializing and deserializing members in a type hierarchy.

public interface IBaseCodec<in T> : Orleans.Serialization.Serializers.IBaseCodec where T : class
type IBaseCodec<'T (requires 'T : null)> = interface
    interface IBaseCodec
Public Interface IBaseCodec(Of In T)
Implements IBaseCodec

Type Parameters

T

The type supported by this codec.

This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived
Implements

Methods

Deserialize<TInput>(Reader<TInput>, T)

Deserializes into the provided value.

Serialize<TBufferWriter>(Writer<TBufferWriter>, T)

Serializes the provided value.

Applies to