IBaseCodec<T> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |