BytesDeserializerBuilderCase class

A deserializer builder case that matches BytesSchema and attempts to map it to any provided type.
AssemblyChr.Avro.Binary
NamespaceChr.Avro.Serialization
Signature
public class BytesDeserializerBuilderCase : Chr.Avro.Serialization.BinaryDeserializerBuilderCase
BaseBinaryDeserializerBuilderCase

Constructors

BytesDeserializerBuilderCase(IBinaryCodec)
Creates a new variable-length bytes deserializer builder case.

Properties

IBinaryCodec Codec
The codec that generated deserializers should use for read operations.

Methods

IBinaryDeserializerBuildResult BuildExpression(TypeResolution, Schema, IBinaryDeserializerBuilderContext)
Builds a variable-length bytes deserializer 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 bytes value to Guid prior to applying the base implementation.
Chr.Avro