FixedSerializerBuilderCase class

A serializer builder case that matches FixedSchema and attempts to map it to any provided type.
AssemblyChr.Avro.Binary
NamespaceChr.Avro.Serialization
Signature
public class FixedSerializerBuilderCase : Chr.Avro.Serialization.BinarySerializerBuilderCase
BaseBinarySerializerBuilderCase

Constructors

FixedSerializerBuilderCase(IBinaryCodec)
Creates a new fixed-length bytes serializer builder case.

Properties

IBinaryCodec Codec
The codec that generated serializers should use for write operations.

Methods

IBinarySerializerBuildResult BuildExpression(Expression, TypeResolution, Schema, IBinarySerializerBuilderContext)
Builds a fixed-length bytes serializer for a type-schema pair.
Expression GenerateConversion(Expression, Type)
Generates a conversion from the source type to the intermediate type. This override will convert a Guid value to a byte array prior to applying the base implementation.
Chr.Avro