Edit

Share via


ProtobufCodec Class

Definition

[Orleans.Alias("protobuf")]
public sealed class ProtobufCodec : Orleans.Serialization.Cloning.IGeneralizedCopier, Orleans.Serialization.ITypeFilter, Orleans.Serialization.Serializers.IGeneralizedCodec
[<Orleans.Alias("protobuf")>]
type ProtobufCodec = class
    interface IGeneralizedCodec
    interface IFieldCodec
    interface IGeneralizedCopier
    interface IDeepCopier
    interface ITypeFilter
Public NotInheritable Class ProtobufCodec
Implements IGeneralizedCodec, IGeneralizedCopier, ITypeFilter
Inheritance
ProtobufCodec
Attributes
Implements

Constructors

ProtobufCodec(IEnumerable<ICodecSelector>, IEnumerable<ICopierSelector>)

Initializes a new instance of the ProtobufCodec class.

Fields

WellKnownAlias

Methods

DeepCopy(Object, CopyContext)

Creates a deep copy of the provided untyped input. The type must still match the copier instance!

Explicit Interface Implementations

IFieldCodec.ReadValue<TInput>(Reader<TInput>, Field)

Reads a value and returns it untyped. The type must still match the codec instance!

IFieldCodec.WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Object)

Writes a field using the provided untyped value. The type must still match the codec instance!

IGeneralizedCodec.IsSupportedType(Type)

Determines whether the specified type is supported by this instance.

IGeneralizedCopier.IsSupportedType(Type)

Returns a value indicating whether the provided type is supported by this implementation.

ITypeFilter.IsTypeAllowed(Type)

Determines whether the specified type is allowed to be serialized, deserialized, etcetera.

Applies to